[2026-07-23 00:00:03] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:00:03] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:00:03] local.INFO: IMEI packet received {"connection_id":139368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":139368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:00:08] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:00:08] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:00:08] local.INFO: IMEI packet received {"connection_id":139368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":139368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:00:09] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:00:09] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:00:09] local.INFO: Packet analysis {"connection_id":139368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:00:09] local.INFO: Extracted packet for processing {"connection_id":139368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:00:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":139368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:00:09] local.INFO: GPS data processed {"connection_id":139368,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:00:09] local.INFO: Acknowledgment sent {"connection_id":139368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:00:14] local.INFO: TCP Data received {"connection_id":141773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b160d10012d196940071ff0900043013824..."} 
[2026-07-23 00:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b160d10012d196940071ff0900043013824..."} 
[2026-07-23 00:00:14] local.INFO: Processing buffer {"connection_id":141773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b160d10012d196940071ff0900043013824..."} 
[2026-07-23 00:00:14] local.INFO: Packet analysis {"connection_id":141773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:00:14] local.INFO: Extracted packet for processing {"connection_id":141773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533712,"longitude_deg":75.6640064,"latitude_deg":11.9533712,"altitude":67,"angle":312,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-07-23 00:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894618880001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8051732240138240,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847625216,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784744906000,"timestamp_ms":1784744906000,"timestamp_seconds":1784744906,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b160d10"} 
[2026-07-23 00:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-23 00:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-23 00:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-23 00:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-23 00:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-23 00:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894618880001,"66":2144,"102":206,"83":41984,"24":0,"16":8051732240138240,"45":1831065122847625216},"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-07-23 00:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-23 00:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-23 00:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894618880001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:00:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-23 00:00:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-23 00:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8051732240138240,"km_value":8051732240138.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847625216,"description":"Unknown IO ID 45"} 
[2026-07-23 00:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894618880001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847625216}} 
[2026-07-23 00:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":141773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:00:14] local.INFO: GPS data processed {"connection_id":141773,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:00:14] local.INFO: Acknowledgment sent {"connection_id":141773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:00:41] local.INFO: TCP Data received {"connection_id":139368,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:00:41] local.INFO: Processing buffer {"connection_id":139368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:00:41] local.INFO: Packet analysis {"connection_id":139368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:00:41] local.INFO: Extracted packet for processing {"connection_id":139368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:00:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":139368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:00:41] local.INFO: GPS data processed {"connection_id":139368,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:00:41] local.INFO: Acknowledgment sent {"connection_id":139368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:01:03] local.INFO: TCP Data received {"connection_id":140424,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:01:03] local.INFO: Processing buffer {"connection_id":140424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:01:03] local.INFO: IMEI packet received {"connection_id":140424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":140424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:01:08] local.INFO: TCP Data received {"connection_id":140424,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:01:08] local.INFO: Processing buffer {"connection_id":140424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:01:08] local.INFO: IMEI packet received {"connection_id":140424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":140424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:01:09] local.INFO: TCP Data received {"connection_id":140424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:01:09] local.INFO: Processing buffer {"connection_id":140424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:01:09] local.INFO: Packet analysis {"connection_id":140424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:01:09] local.INFO: Extracted packet for processing {"connection_id":140424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:01:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:01:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":140424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:01:09] local.INFO: GPS data processed {"connection_id":140424,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:01:09] local.INFO: Acknowledgment sent {"connection_id":140424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:01:41] local.INFO: TCP Data received {"connection_id":140424,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:01:41] local.INFO: Processing buffer {"connection_id":140424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:01:41] local.INFO: Packet analysis {"connection_id":140424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:01:41] local.INFO: Extracted packet for processing {"connection_id":140424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:01:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":140424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:01:41] local.INFO: GPS data processed {"connection_id":140424,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:01:41] local.INFO: Acknowledgment sent {"connection_id":140424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:02:08] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:02:08] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:02:08] local.INFO: IMEI packet received {"connection_id":139423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":139423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:02:13] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:02:13] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:02:13] local.INFO: IMEI packet received {"connection_id":139423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":139423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:02:14] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:02:14] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:02:14] local.INFO: Packet analysis {"connection_id":139423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:02:14] local.INFO: Extracted packet for processing {"connection_id":139423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:02:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:02: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-07-23 00:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:02:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":139423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:02:14] local.INFO: GPS data processed {"connection_id":139423,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:02:14] local.INFO: Acknowledgment sent {"connection_id":139423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:02:19] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:02:19] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:02:19] local.INFO: Packet analysis {"connection_id":139423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:02:19] local.INFO: Extracted packet for processing {"connection_id":139423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:02:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":139423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:02:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":139423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:02:19] local.INFO: GPS data processed {"connection_id":139423,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:02:19] local.INFO: Acknowledgment sent {"connection_id":139423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:03:03] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:03:03] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:03:03] local.INFO: IMEI packet received {"connection_id":139369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":139369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:03:08] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:03:08] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:03:08] local.INFO: IMEI packet received {"connection_id":139369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":139369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:03:09] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:03:09] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:03:09] local.INFO: Packet analysis {"connection_id":139369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:03:09] local.INFO: Extracted packet for processing {"connection_id":139369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:03:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:03:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":139369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:03:09] local.INFO: GPS data processed {"connection_id":139369,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:03:09] local.INFO: Acknowledgment sent {"connection_id":139369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:03:40] local.INFO: TCP Data received {"connection_id":139369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:03:40] local.INFO: Processing buffer {"connection_id":139369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:03:40] local.INFO: Packet analysis {"connection_id":139369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:03:40] local.INFO: Extracted packet for processing {"connection_id":139369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:03:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":139369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:03:40] local.INFO: GPS data processed {"connection_id":139369,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:03:40] local.INFO: Acknowledgment sent {"connection_id":139369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:04:08] local.INFO: TCP Data received {"connection_id":141774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:04:08] local.INFO: Processing buffer {"connection_id":141774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:04:08] local.INFO: IMEI packet received {"connection_id":141774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":141774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:04:13] local.INFO: TCP Data received {"connection_id":141774,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:04:13] local.INFO: Processing buffer {"connection_id":141774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:04:13] local.INFO: IMEI packet received {"connection_id":141774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":141774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:04:14] local.INFO: TCP Data received {"connection_id":141774,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:04:14] local.INFO: Processing buffer {"connection_id":141774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:04:14] local.INFO: Packet analysis {"connection_id":141774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:04:14] local.INFO: Extracted packet for processing {"connection_id":141774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:04:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:04: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-07-23 00:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:04:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":141774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:04:14] local.INFO: GPS data processed {"connection_id":141774,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:04:14] local.INFO: Acknowledgment sent {"connection_id":141774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:04:19] local.INFO: TCP Data received {"connection_id":141774,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:04:19] local.INFO: Processing buffer {"connection_id":141774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b167a70012cb29bc007823b40004b003828..."} 
[2026-07-23 00:04:19] local.INFO: Packet analysis {"connection_id":141774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:04:19] local.INFO: Extracted packet for processing {"connection_id":141774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b16"} 
[2026-07-23 00:04:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894626048001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784744934000,"timestamp_ms":1784744934000,"timestamp_seconds":1784744934,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b167a70"} 
[2026-07-23 00:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894626048001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894626048001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:04:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:04:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894626048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":141774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:04:19] local.INFO: GPS data processed {"connection_id":141774,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:04:19] local.INFO: Acknowledgment sent {"connection_id":141774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:05:03] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:05:03] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:05:03] local.INFO: IMEI packet received {"connection_id":139370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":139370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:05:08] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:05:08] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:05:08] local.INFO: IMEI packet received {"connection_id":139370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":139370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:05:09] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:05:09] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:05:09] local.INFO: Packet analysis {"connection_id":139370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:05:09] local.INFO: Extracted packet for processing {"connection_id":139370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:05:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:05:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":139370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:05:09] local.INFO: GPS data processed {"connection_id":139370,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:05:09] local.INFO: Acknowledgment sent {"connection_id":139370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:05:40] local.INFO: TCP Data received {"connection_id":139370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:05:40] local.INFO: Processing buffer {"connection_id":139370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:05:40] local.INFO: Packet analysis {"connection_id":139370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:05:40] local.INFO: Extracted packet for processing {"connection_id":139370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:05:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":139370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:05:40] local.INFO: GPS data processed {"connection_id":139370,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:05:40] local.INFO: Acknowledgment sent {"connection_id":139370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:05:53] local.INFO: TCP Data received {"connection_id":139371,"ip":"45.33.12.214","data_length":122,"data_hex":"1603010075010000710303dac1490b31090035b4635ada10a5614b5189910afc..."} 
[2026-07-23 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139371,"packet_length":122,"packet_hex":"1603010075010000710303dac1490b31090035b4635ada10a5614b5189910afc..."} 
[2026-07-23 00:05:53] local.INFO: Processing buffer {"connection_id":139371,"buffer_length":122,"buffer_hex":"1603010075010000710303dac1490b31090035b4635ada10a5614b5189910afc..."} 
[2026-07-23 00:05:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":139371,"buffer_length":122,"first_bytes_hex":"1603010075010000710303dac1490b31"} 
[2026-07-23 00:06:03] local.INFO: TCP Data received {"connection_id":141775,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:06:03] local.INFO: Processing buffer {"connection_id":141775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:06:03] local.INFO: IMEI packet received {"connection_id":141775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":141775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:06:08] local.INFO: TCP Data received {"connection_id":141775,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:06:08] local.INFO: Processing buffer {"connection_id":141775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:06:08] local.INFO: IMEI packet received {"connection_id":141775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":141775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:06:09] local.INFO: TCP Data received {"connection_id":141775,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:06:09] local.INFO: Processing buffer {"connection_id":141775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:06:09] local.INFO: Packet analysis {"connection_id":141775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:06:09] local.INFO: Extracted packet for processing {"connection_id":141775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:06:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":141775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:06:09] local.INFO: GPS data processed {"connection_id":141775,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:06:09] local.INFO: Acknowledgment sent {"connection_id":141775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:06:40] local.INFO: TCP Data received {"connection_id":141775,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:06:40] local.INFO: Processing buffer {"connection_id":141775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:06:40] local.INFO: Packet analysis {"connection_id":141775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:06:40] local.INFO: Extracted packet for processing {"connection_id":141775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":141775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:06:40] local.INFO: GPS data processed {"connection_id":141775,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:06:40] local.INFO: Acknowledgment sent {"connection_id":141775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:07:03] local.INFO: TCP Data received {"connection_id":140425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:07:03] local.INFO: Processing buffer {"connection_id":140425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:07:03] local.INFO: IMEI packet received {"connection_id":140425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":140425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:07:08] local.INFO: TCP Data received {"connection_id":140425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:07:08] local.INFO: Processing buffer {"connection_id":140425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:07:08] local.INFO: IMEI packet received {"connection_id":140425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":140425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:07:09] local.INFO: TCP Data received {"connection_id":140425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:07:09] local.INFO: Processing buffer {"connection_id":140425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:07:09] local.INFO: Packet analysis {"connection_id":140425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:07:09] local.INFO: Extracted packet for processing {"connection_id":140425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:07:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:07:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":140425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:07:09] local.INFO: GPS data processed {"connection_id":140425,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:07:09] local.INFO: Acknowledgment sent {"connection_id":140425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:07:40] local.INFO: TCP Data received {"connection_id":140425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:07:40] local.INFO: Processing buffer {"connection_id":140425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:07:40] local.INFO: Packet analysis {"connection_id":140425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:07:40] local.INFO: Extracted packet for processing {"connection_id":140425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:07:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":140425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:07:40] local.INFO: GPS data processed {"connection_id":140425,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:07:40] local.INFO: Acknowledgment sent {"connection_id":140425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:08:08] local.INFO: TCP Data received {"connection_id":140426,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:08:08] local.INFO: Processing buffer {"connection_id":140426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:08:08] local.INFO: IMEI packet received {"connection_id":140426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":140426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:08:13] local.INFO: TCP Data received {"connection_id":140426,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:08:13] local.INFO: Processing buffer {"connection_id":140426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:08:13] local.INFO: IMEI packet received {"connection_id":140426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":140426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:08:14] local.INFO: TCP Data received {"connection_id":140426,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:08:14] local.INFO: Processing buffer {"connection_id":140426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:08:14] local.INFO: Packet analysis {"connection_id":140426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:08:14] local.INFO: Extracted packet for processing {"connection_id":140426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:08:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:08: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-07-23 00:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:08:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":140426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:08:14] local.INFO: GPS data processed {"connection_id":140426,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:08:14] local.INFO: Acknowledgment sent {"connection_id":140426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:08:19] local.INFO: TCP Data received {"connection_id":140426,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:08:19] local.INFO: Processing buffer {"connection_id":140426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:08:19] local.INFO: Packet analysis {"connection_id":140426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:08:19] local.INFO: Extracted packet for processing {"connection_id":140426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:08:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:08:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":140426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:08:19] local.INFO: GPS data processed {"connection_id":140426,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:08:19] local.INFO: Acknowledgment sent {"connection_id":140426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:09:03] local.INFO: TCP Data received {"connection_id":140427,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:09:03] local.INFO: Processing buffer {"connection_id":140427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:09:03] local.INFO: IMEI packet received {"connection_id":140427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":140427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:09:08] local.INFO: TCP Data received {"connection_id":140427,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:09:08] local.INFO: Processing buffer {"connection_id":140427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:09:08] local.INFO: IMEI packet received {"connection_id":140427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":140427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:09:09] local.INFO: TCP Data received {"connection_id":140427,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:09:09] local.INFO: Processing buffer {"connection_id":140427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1b1238012cb29bc007823b40004600382c..."} 
[2026-07-23 00:09:09] local.INFO: Packet analysis {"connection_id":140427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:09:09] local.INFO: Extracted packet for processing {"connection_id":140427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1b"} 
[2026-07-23 00:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894703104001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745235000,"timestamp_ms":1784745235000,"timestamp_seconds":1784745235,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1b1238"} 
[2026-07-23 00:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894703104001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894703104001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894703104001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":140427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:09:09] local.INFO: GPS data processed {"connection_id":140427,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:09:09] local.INFO: Acknowledgment sent {"connection_id":140427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:09:40] local.INFO: TCP Data received {"connection_id":140427,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:09:40] local.INFO: Processing buffer {"connection_id":140427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:09:40] local.INFO: Packet analysis {"connection_id":140427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:09:40] local.INFO: Extracted packet for processing {"connection_id":140427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:09:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":140427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:09:40] local.INFO: GPS data processed {"connection_id":140427,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:09:40] local.INFO: Acknowledgment sent {"connection_id":140427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:10:08] local.INFO: TCP Data received {"connection_id":140428,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:10:08] local.INFO: Processing buffer {"connection_id":140428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:10:08] local.INFO: IMEI packet received {"connection_id":140428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":140428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:10:13] local.INFO: TCP Data received {"connection_id":140428,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:10:13] local.INFO: Processing buffer {"connection_id":140428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:10:13] local.INFO: IMEI packet received {"connection_id":140428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":140428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:10:14] local.INFO: TCP Data received {"connection_id":140428,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:10:14] local.INFO: Processing buffer {"connection_id":140428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:10:14] local.INFO: Packet analysis {"connection_id":140428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:10:14] local.INFO: Extracted packet for processing {"connection_id":140428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:10:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:10: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-07-23 00:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:10:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":140428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:10:14] local.INFO: GPS data processed {"connection_id":140428,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:10:14] local.INFO: Acknowledgment sent {"connection_id":140428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:10:19] local.INFO: TCP Data received {"connection_id":140428,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:10:19] local.INFO: Processing buffer {"connection_id":140428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:10:19] local.INFO: Packet analysis {"connection_id":140428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:10:19] local.INFO: Extracted packet for processing {"connection_id":140428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:10:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:10:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":140428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:10:19] local.INFO: GPS data processed {"connection_id":140428,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:10:19] local.INFO: Acknowledgment sent {"connection_id":140428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:11:05] local.INFO: TCP Data received {"connection_id":139372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:11:05] local.INFO: Processing buffer {"connection_id":139372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:11:05] local.INFO: IMEI packet received {"connection_id":139372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":139372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:11:08] local.INFO: TCP Data received {"connection_id":139372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:11:08] local.INFO: Processing buffer {"connection_id":139372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:11:08] local.INFO: IMEI packet received {"connection_id":139372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":139372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:11:09] local.INFO: TCP Data received {"connection_id":139372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:09] local.INFO: Processing buffer {"connection_id":139372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:09] local.INFO: Packet analysis {"connection_id":139372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:11:09] local.INFO: Extracted packet for processing {"connection_id":139372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:11:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:11:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":139372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:11:09] local.INFO: GPS data processed {"connection_id":139372,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:11:09] local.INFO: Acknowledgment sent {"connection_id":139372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:11:14] local.INFO: TCP Data received {"connection_id":139372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:14] local.INFO: Processing buffer {"connection_id":139372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:14] local.INFO: Packet analysis {"connection_id":139372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:11:14] local.INFO: Extracted packet for processing {"connection_id":139372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:11:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:11: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-07-23 00:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:11:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":139372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:11:14] local.INFO: GPS data processed {"connection_id":139372,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:11:14] local.INFO: Acknowledgment sent {"connection_id":139372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:11:45] local.INFO: TCP Data received {"connection_id":139372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:45] local.INFO: Processing buffer {"connection_id":139372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:11:45] local.INFO: Packet analysis {"connection_id":139372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:11:45] local.INFO: Extracted packet for processing {"connection_id":139372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:11:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:11: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-07-23 00:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":139372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":139372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":139372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":139372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:11:45] local.INFO: GPS data processed {"connection_id":139372,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:11:45] local.INFO: Acknowledgment sent {"connection_id":139372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:12:03] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:12:03] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:12:03] local.INFO: IMEI packet received {"connection_id":139424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":139424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:12:08] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:12:08] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:12:08] local.INFO: IMEI packet received {"connection_id":139424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":139424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:12:09] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:12:09] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:12:09] local.INFO: Packet analysis {"connection_id":139424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:12:09] local.INFO: Extracted packet for processing {"connection_id":139424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:12:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":139424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:12:09] local.INFO: GPS data processed {"connection_id":139424,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:12:09] local.INFO: Acknowledgment sent {"connection_id":139424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:12:40] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:12:40] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:12:40] local.INFO: Packet analysis {"connection_id":139424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:12:40] local.INFO: Extracted packet for processing {"connection_id":139424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:12:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":139424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:12:40] local.INFO: GPS data processed {"connection_id":139424,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:12:40] local.INFO: Acknowledgment sent {"connection_id":139424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:13:03] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:13:03] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:13:03] local.INFO: IMEI packet received {"connection_id":139373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":139373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:13:08] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:13:08] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:13:08] local.INFO: IMEI packet received {"connection_id":139373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":139373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:13:09] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:13:09] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:13:09] local.INFO: Packet analysis {"connection_id":139373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:13:09] local.INFO: Extracted packet for processing {"connection_id":139373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:13:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:13:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":139373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:13:09] local.INFO: GPS data processed {"connection_id":139373,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:13:09] local.INFO: Acknowledgment sent {"connection_id":139373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:13:40] local.INFO: TCP Data received {"connection_id":139373,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:13:40] local.INFO: Processing buffer {"connection_id":139373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:13:40] local.INFO: Packet analysis {"connection_id":139373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:13:40] local.INFO: Extracted packet for processing {"connection_id":139373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":139373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:13:40] local.INFO: GPS data processed {"connection_id":139373,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:13:40] local.INFO: Acknowledgment sent {"connection_id":139373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:14:03] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:14:03] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:14:03] local.INFO: IMEI packet received {"connection_id":139425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":139425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:14:08] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:14:08] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:14:08] local.INFO: IMEI packet received {"connection_id":139425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":139425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:14:09] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:14:09] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b1faa00012cb29bc007823b40004a00382b..."} 
[2026-07-23 00:14:09] local.INFO: Packet analysis {"connection_id":139425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:14:09] local.INFO: Extracted packet for processing {"connection_id":139425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b1f"} 
[2026-07-23 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894780160001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745536000,"timestamp_ms":1784745536000,"timestamp_seconds":1784745536,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b1faa00"} 
[2026-07-23 00:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894780160001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894780160001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:14:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894780160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":139425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:14:09] local.INFO: GPS data processed {"connection_id":139425,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:14:09] local.INFO: Acknowledgment sent {"connection_id":139425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:14:40] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:14:40] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:14:40] local.INFO: Packet analysis {"connection_id":139425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:14:40] local.INFO: Extracted packet for processing {"connection_id":139425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:14:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":139425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:14:40] local.INFO: GPS data processed {"connection_id":139425,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:14:40] local.INFO: Acknowledgment sent {"connection_id":139425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:15:08] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:15:08] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:15:08] local.INFO: IMEI packet received {"connection_id":139426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":139426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:15:13] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:15:13] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:15:13] local.INFO: IMEI packet received {"connection_id":139426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":139426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:15:14] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:15:14] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:15:14] local.INFO: Packet analysis {"connection_id":139426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:15:14] local.INFO: Extracted packet for processing {"connection_id":139426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:15:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:15:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:15: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-07-23 00:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:15:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:15:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:15:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":139426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:15:14] local.INFO: GPS data processed {"connection_id":139426,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:15:14] local.INFO: Acknowledgment sent {"connection_id":139426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:15:19] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:15:19] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:15:19] local.INFO: Packet analysis {"connection_id":139426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:15:19] local.INFO: Extracted packet for processing {"connection_id":139426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":139426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:15:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":139426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:15:19] local.INFO: GPS data processed {"connection_id":139426,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:15:19] local.INFO: Acknowledgment sent {"connection_id":139426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:16:03] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:16:03] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:16:03] local.INFO: IMEI packet received {"connection_id":139427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":139427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:16:08] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:16:08] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:16:08] local.INFO: IMEI packet received {"connection_id":139427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":139427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:16:09] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:16:09] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:16:09] local.INFO: Packet analysis {"connection_id":139427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:16:09] local.INFO: Extracted packet for processing {"connection_id":139427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:16:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:16:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":139427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:16:09] local.INFO: GPS data processed {"connection_id":139427,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:16:09] local.INFO: Acknowledgment sent {"connection_id":139427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:16:40] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:16:40] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:16:40] local.INFO: Packet analysis {"connection_id":139427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:16:40] local.INFO: Extracted packet for processing {"connection_id":139427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:16:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":139427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:16:40] local.INFO: GPS data processed {"connection_id":139427,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:16:40] local.INFO: Acknowledgment sent {"connection_id":139427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:17:03] local.INFO: TCP Data received {"connection_id":140429,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:17:03] local.INFO: Processing buffer {"connection_id":140429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:17:03] local.INFO: IMEI packet received {"connection_id":140429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":140429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:17:08] local.INFO: TCP Data received {"connection_id":140429,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:17:08] local.INFO: Processing buffer {"connection_id":140429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:17:08] local.INFO: IMEI packet received {"connection_id":140429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":140429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:17:09] local.INFO: TCP Data received {"connection_id":140429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:17:09] local.INFO: Processing buffer {"connection_id":140429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:17:09] local.INFO: Packet analysis {"connection_id":140429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:17:09] local.INFO: Extracted packet for processing {"connection_id":140429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:17:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":140429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:17:09] local.INFO: GPS data processed {"connection_id":140429,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:17:09] local.INFO: Acknowledgment sent {"connection_id":140429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:17:40] local.INFO: TCP Data received {"connection_id":140429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:17:40] local.INFO: Processing buffer {"connection_id":140429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:17:40] local.INFO: Packet analysis {"connection_id":140429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:17:40] local.INFO: Extracted packet for processing {"connection_id":140429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:17:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:17:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:17:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:17:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":140429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:17:40] local.INFO: GPS data processed {"connection_id":140429,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:17:40] local.INFO: Acknowledgment sent {"connection_id":140429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:18:03] local.INFO: TCP Data received {"connection_id":141776,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:18:03] local.INFO: Processing buffer {"connection_id":141776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:18:03] local.INFO: IMEI packet received {"connection_id":141776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":141776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:18:08] local.INFO: TCP Data received {"connection_id":141776,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:18:08] local.INFO: Processing buffer {"connection_id":141776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:18:08] local.INFO: IMEI packet received {"connection_id":141776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":141776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:18:09] local.INFO: TCP Data received {"connection_id":141776,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:18:09] local.INFO: Processing buffer {"connection_id":141776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:18:09] local.INFO: Packet analysis {"connection_id":141776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:18:09] local.INFO: Extracted packet for processing {"connection_id":141776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:18:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:18:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":141776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:18:09] local.INFO: GPS data processed {"connection_id":141776,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:18:09] local.INFO: Acknowledgment sent {"connection_id":141776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:18:40] local.INFO: TCP Data received {"connection_id":141776,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:18:40] local.INFO: Processing buffer {"connection_id":141776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:18:40] local.INFO: Packet analysis {"connection_id":141776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:18:40] local.INFO: Extracted packet for processing {"connection_id":141776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:18:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:18:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":141776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:18:40] local.INFO: GPS data processed {"connection_id":141776,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:18:40] local.INFO: Acknowledgment sent {"connection_id":141776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:19:03] local.INFO: TCP Data received {"connection_id":139374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:19:03] local.INFO: Processing buffer {"connection_id":139374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:19:03] local.INFO: IMEI packet received {"connection_id":139374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":139374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:19:08] local.INFO: TCP Data received {"connection_id":139374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:19:08] local.INFO: Processing buffer {"connection_id":139374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:19:08] local.INFO: IMEI packet received {"connection_id":139374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":139374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:19:09] local.INFO: TCP Data received {"connection_id":139374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:19:09] local.INFO: Processing buffer {"connection_id":139374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2441c8012cb29bc007823b40004e00382b..."} 
[2026-07-23 00:19:09] local.INFO: Packet analysis {"connection_id":139374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:19:09] local.INFO: Extracted packet for processing {"connection_id":139374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b24"} 
[2026-07-23 00:19:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":78,"angle":56,"satellites":43,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894857216001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784745837000,"timestamp_ms":1784745837000,"timestamp_seconds":1784745837,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2441c8"} 
[2026-07-23 00:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894857216001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894857216001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:19:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894857216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":139374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:19:09] local.INFO: GPS data processed {"connection_id":139374,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:19:09] local.INFO: Acknowledgment sent {"connection_id":139374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:19:47] local.INFO: TCP Data received {"connection_id":139374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:19:47] local.INFO: Processing buffer {"connection_id":139374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:19:47] local.INFO: Packet analysis {"connection_id":139374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:19:47] local.INFO: Extracted packet for processing {"connection_id":139374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:19:47] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:19:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:19:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:19:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:19:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":139374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:19:47] local.INFO: GPS data processed {"connection_id":139374,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:19:47] local.INFO: Acknowledgment sent {"connection_id":139374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:20:08] local.INFO: TCP Data received {"connection_id":141777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:20:08] local.INFO: Processing buffer {"connection_id":141777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:20:08] local.INFO: IMEI packet received {"connection_id":141777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":141777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:20:13] local.INFO: TCP Data received {"connection_id":141777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:20:13] local.INFO: Processing buffer {"connection_id":141777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:20:13] local.INFO: IMEI packet received {"connection_id":141777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":141777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:20:14] local.INFO: TCP Data received {"connection_id":141777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:20:14] local.INFO: Processing buffer {"connection_id":141777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:20:14] local.INFO: Packet analysis {"connection_id":141777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:20:14] local.INFO: Extracted packet for processing {"connection_id":141777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:20:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:20: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-07-23 00:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:20:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":141777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:20:14] local.INFO: GPS data processed {"connection_id":141777,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:20:14] local.INFO: Acknowledgment sent {"connection_id":141777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:20:48] local.INFO: TCP Data received {"connection_id":141777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:20:48] local.INFO: Processing buffer {"connection_id":141777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:20:48] local.INFO: Packet analysis {"connection_id":141777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:20:48] local.INFO: Extracted packet for processing {"connection_id":141777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":141777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:20:48] local.INFO: GPS data processed {"connection_id":141777,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:20:48] local.INFO: Acknowledgment sent {"connection_id":141777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:21:03] local.INFO: TCP Data received {"connection_id":140430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:21:03] local.INFO: Processing buffer {"connection_id":140430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:21:03] local.INFO: IMEI packet received {"connection_id":140430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":140430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:21:08] local.INFO: TCP Data received {"connection_id":140430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:21:08] local.INFO: Processing buffer {"connection_id":140430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:21:08] local.INFO: IMEI packet received {"connection_id":140430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":140430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:21:09] local.INFO: TCP Data received {"connection_id":140430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:21:09] local.INFO: Processing buffer {"connection_id":140430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:21:09] local.INFO: Packet analysis {"connection_id":140430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:21:09] local.INFO: Extracted packet for processing {"connection_id":140430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:21:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:21:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":140430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:21:09] local.INFO: GPS data processed {"connection_id":140430,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:21:09] local.INFO: Acknowledgment sent {"connection_id":140430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:21:41] local.INFO: TCP Data received {"connection_id":140430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:21:41] local.INFO: Processing buffer {"connection_id":140430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:21:41] local.INFO: Packet analysis {"connection_id":140430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:21:41] local.INFO: Extracted packet for processing {"connection_id":140430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":140430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:21:41] local.INFO: GPS data processed {"connection_id":140430,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:21:41] local.INFO: Acknowledgment sent {"connection_id":140430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:22:04] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:22:04] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:22:04] local.INFO: IMEI packet received {"connection_id":139428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":139428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:22:08] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:22:08] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:22:08] local.INFO: IMEI packet received {"connection_id":139428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":139428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:22:09] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:22:09] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:22:09] local.INFO: Packet analysis {"connection_id":139428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:22:09] local.INFO: Extracted packet for processing {"connection_id":139428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:22:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":139428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:22:09] local.INFO: GPS data processed {"connection_id":139428,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:22:09] local.INFO: Acknowledgment sent {"connection_id":139428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:22:40] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:22:40] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:22:40] local.INFO: Packet analysis {"connection_id":139428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:22:40] local.INFO: Extracted packet for processing {"connection_id":139428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:22:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:22:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":139428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:22:40] local.INFO: GPS data processed {"connection_id":139428,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:22:40] local.INFO: Acknowledgment sent {"connection_id":139428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:23:03] local.INFO: TCP Data received {"connection_id":141778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:23:03] local.INFO: Processing buffer {"connection_id":141778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:23:03] local.INFO: IMEI packet received {"connection_id":141778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":141778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:23:08] local.INFO: TCP Data received {"connection_id":141778,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:23:08] local.INFO: Processing buffer {"connection_id":141778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:23:08] local.INFO: IMEI packet received {"connection_id":141778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":141778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:23:09] local.INFO: TCP Data received {"connection_id":141778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:23:09] local.INFO: Processing buffer {"connection_id":141778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:23:09] local.INFO: Packet analysis {"connection_id":141778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:23:09] local.INFO: Extracted packet for processing {"connection_id":141778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:23:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:23:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":141778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:23:09] local.INFO: GPS data processed {"connection_id":141778,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:23:09] local.INFO: Acknowledgment sent {"connection_id":141778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:23:40] local.INFO: TCP Data received {"connection_id":141778,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:23:40] local.INFO: Processing buffer {"connection_id":141778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:23:40] local.INFO: Packet analysis {"connection_id":141778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:23:40] local.INFO: Extracted packet for processing {"connection_id":141778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:23:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:23:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":141778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:23:40] local.INFO: GPS data processed {"connection_id":141778,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:23:40] local.INFO: Acknowledgment sent {"connection_id":141778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:24:03] local.INFO: TCP Data received {"connection_id":140431,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:24:03] local.INFO: Processing buffer {"connection_id":140431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:24:03] local.INFO: IMEI packet received {"connection_id":140431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":140431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:24:08] local.INFO: TCP Data received {"connection_id":140431,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:24:08] local.INFO: Processing buffer {"connection_id":140431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:24:08] local.INFO: IMEI packet received {"connection_id":140431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":140431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:24:09] local.INFO: TCP Data received {"connection_id":140431,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:24:09] local.INFO: Processing buffer {"connection_id":140431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b28d990012cb29bc007823b40004c003827..."} 
[2026-07-23 00:24:09] local.INFO: Packet analysis {"connection_id":140431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:24:09] local.INFO: Extracted packet for processing {"connection_id":140431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b28"} 
[2026-07-23 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456894934272001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746138000,"timestamp_ms":1784746138000,"timestamp_seconds":1784746138,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b28d990"} 
[2026-07-23 00:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456894934272001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456894934272001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:24:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456894934272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":140431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:24:09] local.INFO: GPS data processed {"connection_id":140431,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:24:09] local.INFO: Acknowledgment sent {"connection_id":140431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:24:40] local.INFO: TCP Data received {"connection_id":140431,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:24:40] local.INFO: Processing buffer {"connection_id":140431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:24:40] local.INFO: Packet analysis {"connection_id":140431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:24:40] local.INFO: Extracted packet for processing {"connection_id":140431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:24:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:24:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":140431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:24:40] local.INFO: GPS data processed {"connection_id":140431,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:24:40] local.INFO: Acknowledgment sent {"connection_id":140431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:25:08] local.INFO: TCP Data received {"connection_id":141779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:25:08] local.INFO: Processing buffer {"connection_id":141779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:25:08] local.INFO: IMEI packet received {"connection_id":141779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":141779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:25:13] local.INFO: TCP Data received {"connection_id":141779,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:25:13] local.INFO: Processing buffer {"connection_id":141779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:25:13] local.INFO: IMEI packet received {"connection_id":141779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":141779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:25:16] local.INFO: TCP Data received {"connection_id":141779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:25:16] local.INFO: Processing buffer {"connection_id":141779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:25:16] local.INFO: Packet analysis {"connection_id":141779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:25:16] local.INFO: Extracted packet for processing {"connection_id":141779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:25:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:25:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:25:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":141779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:25:16] local.INFO: GPS data processed {"connection_id":141779,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:25:16] local.INFO: Acknowledgment sent {"connection_id":141779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:25:19] local.INFO: TCP Data received {"connection_id":141779,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:25:19] local.INFO: Processing buffer {"connection_id":141779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:25:19] local.INFO: Packet analysis {"connection_id":141779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:25:19] local.INFO: Extracted packet for processing {"connection_id":141779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:25:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:25:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:25:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:25:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":141779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:25:19] local.INFO: GPS data processed {"connection_id":141779,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:25:19] local.INFO: Acknowledgment sent {"connection_id":141779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:26:03] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:26:03] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:26:03] local.INFO: IMEI packet received {"connection_id":139375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":139375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:26:08] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:26:08] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:26:08] local.INFO: IMEI packet received {"connection_id":139375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":139375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:26:09] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:26:09] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:26:09] local.INFO: Packet analysis {"connection_id":139375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:26:09] local.INFO: Extracted packet for processing {"connection_id":139375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:26:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":139375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:26:09] local.INFO: GPS data processed {"connection_id":139375,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:26:09] local.INFO: Acknowledgment sent {"connection_id":139375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:26:40] local.INFO: TCP Data received {"connection_id":139375,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:26:40] local.INFO: Processing buffer {"connection_id":139375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:26:40] local.INFO: Packet analysis {"connection_id":139375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:26:40] local.INFO: Extracted packet for processing {"connection_id":139375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:26:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":139375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:26:40] local.INFO: GPS data processed {"connection_id":139375,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:26:40] local.INFO: Acknowledgment sent {"connection_id":139375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:27:03] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:27:03] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:27:03] local.INFO: IMEI packet received {"connection_id":139376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":139376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:27:08] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:27:08] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:27:08] local.INFO: IMEI packet received {"connection_id":139376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":139376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:27:09] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:27:09] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:27:09] local.INFO: Packet analysis {"connection_id":139376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:27:09] local.INFO: Extracted packet for processing {"connection_id":139376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:27:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:27:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":139376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:27:09] local.INFO: GPS data processed {"connection_id":139376,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:27:09] local.INFO: Acknowledgment sent {"connection_id":139376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:27:40] local.INFO: TCP Data received {"connection_id":139376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:27:40] local.INFO: Processing buffer {"connection_id":139376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:27:40] local.INFO: Packet analysis {"connection_id":139376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:27:40] local.INFO: Extracted packet for processing {"connection_id":139376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:27:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":139376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:27:40] local.INFO: GPS data processed {"connection_id":139376,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:27:40] local.INFO: Acknowledgment sent {"connection_id":139376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:28:03] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:28:03] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:28:03] local.INFO: IMEI packet received {"connection_id":139429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":139429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:28:08] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:28:08] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:28:08] local.INFO: IMEI packet received {"connection_id":139429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":139429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:28:09] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:28:09] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:28:09] local.INFO: Packet analysis {"connection_id":139429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:28:09] local.INFO: Extracted packet for processing {"connection_id":139429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:28:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":139429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:28:09] local.INFO: GPS data processed {"connection_id":139429,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:28:09] local.INFO: Acknowledgment sent {"connection_id":139429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:28:40] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:28:40] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:28:40] local.INFO: Packet analysis {"connection_id":139429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:28:40] local.INFO: Extracted packet for processing {"connection_id":139429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:28:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":139429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:28:40] local.INFO: GPS data processed {"connection_id":139429,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:28:40] local.INFO: Acknowledgment sent {"connection_id":139429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:29:03] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:29:03] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:29:03] local.INFO: IMEI packet received {"connection_id":139377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":139377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:29:08] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:29:08] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:29:08] local.INFO: IMEI packet received {"connection_id":139377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":139377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:29:09] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:29:09] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b2d7158012cb29bc007823b400047003826..."} 
[2026-07-23 00:29:09] local.INFO: Packet analysis {"connection_id":139377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:29:09] local.INFO: Extracted packet for processing {"connection_id":139377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b2d"} 
[2026-07-23 00:29:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895011328001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746439000,"timestamp_ms":1784746439000,"timestamp_seconds":1784746439,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b2d7158"} 
[2026-07-23 00:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895011328001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895011328001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:29:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895011328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":139377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:29:09] local.INFO: GPS data processed {"connection_id":139377,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:29:09] local.INFO: Acknowledgment sent {"connection_id":139377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:29:40] local.INFO: TCP Data received {"connection_id":139377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:29:40] local.INFO: Processing buffer {"connection_id":139377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:29:40] local.INFO: Packet analysis {"connection_id":139377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:29:40] local.INFO: Extracted packet for processing {"connection_id":139377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:29:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":139377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:29:40] local.INFO: GPS data processed {"connection_id":139377,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:29:40] local.INFO: Acknowledgment sent {"connection_id":139377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:30:08] local.INFO: TCP Data received {"connection_id":141780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:30:08] local.INFO: Processing buffer {"connection_id":141780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:30:08] local.INFO: IMEI packet received {"connection_id":141780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":141780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:30:13] local.INFO: TCP Data received {"connection_id":141780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:30:13] local.INFO: Processing buffer {"connection_id":141780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:30:13] local.INFO: IMEI packet received {"connection_id":141780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":141780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:30:16] local.INFO: TCP Data received {"connection_id":141780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:30:16] local.INFO: Processing buffer {"connection_id":141780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:30:16] local.INFO: Packet analysis {"connection_id":141780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:30:16] local.INFO: Extracted packet for processing {"connection_id":141780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:30:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":141780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:30:16] local.INFO: GPS data processed {"connection_id":141780,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:30:16] local.INFO: Acknowledgment sent {"connection_id":141780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:30:47] local.INFO: TCP Data received {"connection_id":141780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:30:47] local.INFO: Processing buffer {"connection_id":141780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:30:47] local.INFO: Packet analysis {"connection_id":141780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:30:47] local.INFO: Extracted packet for processing {"connection_id":141780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:30:47] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:30:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":141780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:30:47] local.INFO: GPS data processed {"connection_id":141780,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:30:47] local.INFO: Acknowledgment sent {"connection_id":141780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:31:03] local.INFO: TCP Data received {"connection_id":140432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:31:03] local.INFO: Processing buffer {"connection_id":140432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:31:03] local.INFO: IMEI packet received {"connection_id":140432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":140432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:31:08] local.INFO: TCP Data received {"connection_id":140432,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:31:08] local.INFO: Processing buffer {"connection_id":140432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:31:08] local.INFO: IMEI packet received {"connection_id":140432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":140432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:31:09] local.INFO: TCP Data received {"connection_id":140432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:31:09] local.INFO: Processing buffer {"connection_id":140432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:31:09] local.INFO: Packet analysis {"connection_id":140432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:31:09] local.INFO: Extracted packet for processing {"connection_id":140432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:31:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:31:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:31:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:31:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":140432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:31:09] local.INFO: GPS data processed {"connection_id":140432,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:31:09] local.INFO: Acknowledgment sent {"connection_id":140432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:31:40] local.INFO: TCP Data received {"connection_id":140432,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:31:40] local.INFO: Processing buffer {"connection_id":140432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:31:40] local.INFO: Packet analysis {"connection_id":140432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:31:40] local.INFO: Extracted packet for processing {"connection_id":140432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:31:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:31:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":140432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:31:40] local.INFO: GPS data processed {"connection_id":140432,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:31:40] local.INFO: Acknowledgment sent {"connection_id":140432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:32:08] local.INFO: TCP Data received {"connection_id":139378,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:32:08] local.INFO: Processing buffer {"connection_id":139378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:32:08] local.INFO: IMEI packet received {"connection_id":139378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":139378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:32:13] local.INFO: TCP Data received {"connection_id":139378,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:32:13] local.INFO: Processing buffer {"connection_id":139378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:32:13] local.INFO: IMEI packet received {"connection_id":139378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":139378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:32:15] local.INFO: TCP Data received {"connection_id":139378,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:32:15] local.INFO: Processing buffer {"connection_id":139378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:32:15] local.INFO: Packet analysis {"connection_id":139378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:32:15] local.INFO: Extracted packet for processing {"connection_id":139378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:32:15] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":139378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":139378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":139378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:32:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":139378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:32:15] local.INFO: GPS data processed {"connection_id":139378,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:32:15] local.INFO: Acknowledgment sent {"connection_id":139378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:32:19] local.INFO: TCP Data received {"connection_id":139378,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:32:19] local.INFO: Processing buffer {"connection_id":139378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:32:19] local.INFO: Packet analysis {"connection_id":139378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:32:19] local.INFO: Extracted packet for processing {"connection_id":139378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:32:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":139378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":139378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":139378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:32:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":139378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:32:19] local.INFO: GPS data processed {"connection_id":139378,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:32:19] local.INFO: Acknowledgment sent {"connection_id":139378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:33:03] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:33:03] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:33:03] local.INFO: IMEI packet received {"connection_id":139430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":139430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:33:08] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:33:08] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:33:08] local.INFO: IMEI packet received {"connection_id":139430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":139430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:33:09] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:33:09] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:33:09] local.INFO: Packet analysis {"connection_id":139430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:33:09] local.INFO: Extracted packet for processing {"connection_id":139430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:33:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:33:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":139430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:33:09] local.INFO: GPS data processed {"connection_id":139430,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:33:09] local.INFO: Acknowledgment sent {"connection_id":139430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:33:40] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:33:40] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:33:40] local.INFO: Packet analysis {"connection_id":139430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:33:40] local.INFO: Extracted packet for processing {"connection_id":139430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:33:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:33:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":139430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:33:40] local.INFO: GPS data processed {"connection_id":139430,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:33:40] local.INFO: Acknowledgment sent {"connection_id":139430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:34:04] local.INFO: TCP Data received {"connection_id":140433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:34:04] local.INFO: Processing buffer {"connection_id":140433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:34:04] local.INFO: IMEI packet received {"connection_id":140433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":140433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:34:08] local.INFO: TCP Data received {"connection_id":140433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:34:08] local.INFO: Processing buffer {"connection_id":140433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:34:08] local.INFO: IMEI packet received {"connection_id":140433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":140433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:34:09] local.INFO: TCP Data received {"connection_id":140433,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:34:09] local.INFO: Processing buffer {"connection_id":140433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b320920012cb29bc007823b40004f003827..."} 
[2026-07-23 00:34:09] local.INFO: Packet analysis {"connection_id":140433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:34:09] local.INFO: Extracted packet for processing {"connection_id":140433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b32"} 
[2026-07-23 00:34:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":79,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895088384001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784746740000,"timestamp_ms":1784746740000,"timestamp_seconds":1784746740,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b320920"} 
[2026-07-23 00:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895088384001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895088384001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:34:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895088384001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":140433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:34:09] local.INFO: GPS data processed {"connection_id":140433,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:34:09] local.INFO: Acknowledgment sent {"connection_id":140433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:34:40] local.INFO: TCP Data received {"connection_id":140433,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:34:40] local.INFO: Processing buffer {"connection_id":140433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:34:40] local.INFO: Packet analysis {"connection_id":140433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:34:40] local.INFO: Extracted packet for processing {"connection_id":140433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:34:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:34:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":140433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:34:40] local.INFO: GPS data processed {"connection_id":140433,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:34:40] local.INFO: Acknowledgment sent {"connection_id":140433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:35:03] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:03] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:03] local.INFO: IMEI packet received {"connection_id":139431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":139431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:35:38] local.INFO: TCP Data received {"connection_id":139379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:38] local.INFO: Processing buffer {"connection_id":139379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:38] local.INFO: IMEI packet received {"connection_id":139379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":139379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:35:43] local.INFO: TCP Data received {"connection_id":139379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:43] local.INFO: Processing buffer {"connection_id":139379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:35:43] local.INFO: IMEI packet received {"connection_id":139379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":139379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:35:44] local.INFO: TCP Data received {"connection_id":139379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:35:44] local.INFO: Processing buffer {"connection_id":139379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:35:44] local.INFO: Packet analysis {"connection_id":139379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:35:44] local.INFO: Extracted packet for processing {"connection_id":139379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:35:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:35:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":139379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":139379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":139379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:35:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:35:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":139379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:35:44] local.INFO: GPS data processed {"connection_id":139379,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:35:44] local.INFO: Acknowledgment sent {"connection_id":139379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:36:08] local.INFO: TCP Data received {"connection_id":140434,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:36:08] local.INFO: Processing buffer {"connection_id":140434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:36:08] local.INFO: IMEI packet received {"connection_id":140434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":140434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:36:13] local.INFO: TCP Data received {"connection_id":140434,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:36:13] local.INFO: Processing buffer {"connection_id":140434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:36:13] local.INFO: IMEI packet received {"connection_id":140434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":140434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:36:14] local.INFO: TCP Data received {"connection_id":140434,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:36:14] local.INFO: Processing buffer {"connection_id":140434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:36:14] local.INFO: Packet analysis {"connection_id":140434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:36:14] local.INFO: Extracted packet for processing {"connection_id":140434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00: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-07-23 00:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:36:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:36:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":140434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:36:14] local.INFO: GPS data processed {"connection_id":140434,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:36:14] local.INFO: Acknowledgment sent {"connection_id":140434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:36:45] local.INFO: TCP Data received {"connection_id":140434,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:36:45] local.INFO: Processing buffer {"connection_id":140434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:36:45] local.INFO: Packet analysis {"connection_id":140434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:36:45] local.INFO: Extracted packet for processing {"connection_id":140434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:36:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:36: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-07-23 00:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":140434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":140434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":140434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:36:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":140434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:36:45] local.INFO: GPS data processed {"connection_id":140434,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:36:45] local.INFO: Acknowledgment sent {"connection_id":140434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:37:03] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:37:03] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:37:03] local.INFO: IMEI packet received {"connection_id":139432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":139432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:37:08] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:37:08] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:37:08] local.INFO: IMEI packet received {"connection_id":139432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":139432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:37:09] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:37:09] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:37:09] local.INFO: Packet analysis {"connection_id":139432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:37:09] local.INFO: Extracted packet for processing {"connection_id":139432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:37:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:37:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":139432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:37:09] local.INFO: GPS data processed {"connection_id":139432,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:37:09] local.INFO: Acknowledgment sent {"connection_id":139432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:37:40] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:37:40] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:37:40] local.INFO: Packet analysis {"connection_id":139432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:37:40] local.INFO: Extracted packet for processing {"connection_id":139432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:37:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:37:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":139432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:37:40] local.INFO: GPS data processed {"connection_id":139432,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:37:40] local.INFO: Acknowledgment sent {"connection_id":139432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:38:08] local.INFO: TCP Data received {"connection_id":141781,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:38:08] local.INFO: Processing buffer {"connection_id":141781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:38:08] local.INFO: IMEI packet received {"connection_id":141781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":141781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:38:13] local.INFO: TCP Data received {"connection_id":141781,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:38:13] local.INFO: Processing buffer {"connection_id":141781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:38:13] local.INFO: IMEI packet received {"connection_id":141781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":141781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:38:14] local.INFO: TCP Data received {"connection_id":141781,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:38:14] local.INFO: Processing buffer {"connection_id":141781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:38:14] local.INFO: Packet analysis {"connection_id":141781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:38:14] local.INFO: Extracted packet for processing {"connection_id":141781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:38:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:38: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-07-23 00:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:38:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":141781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:38:14] local.INFO: GPS data processed {"connection_id":141781,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:38:14] local.INFO: Acknowledgment sent {"connection_id":141781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:38:18] local.INFO: TCP Data received {"connection_id":141781,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:38:18] local.INFO: Processing buffer {"connection_id":141781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:38:18] local.INFO: Packet analysis {"connection_id":141781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:38:18] local.INFO: Extracted packet for processing {"connection_id":141781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:38:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:38:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":141781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:38:19] local.INFO: GPS data processed {"connection_id":141781,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:38:19] local.INFO: Acknowledgment sent {"connection_id":141781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:39:03] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:39:03] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:39:03] local.INFO: IMEI packet received {"connection_id":139380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":139380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:39:08] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:39:08] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:39:08] local.INFO: IMEI packet received {"connection_id":139380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":139380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:39:09] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:39:09] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:39:09] local.INFO: Packet analysis {"connection_id":139380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:39:09] local.INFO: Extracted packet for processing {"connection_id":139380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:39:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:39:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":139380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:39:09] local.INFO: GPS data processed {"connection_id":139380,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:39:09] local.INFO: Acknowledgment sent {"connection_id":139380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:39:40] local.INFO: TCP Data received {"connection_id":139380,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:39:40] local.INFO: Processing buffer {"connection_id":139380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b36a0e8012cb29bc007823b40004a003824..."} 
[2026-07-23 00:39:40] local.INFO: Packet analysis {"connection_id":139380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:39:40] local.INFO: Extracted packet for processing {"connection_id":139380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b36"} 
[2026-07-23 00:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895165440001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747041000,"timestamp_ms":1784747041000,"timestamp_seconds":1784747041,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b36a0e8"} 
[2026-07-23 00:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895165440001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895165440001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:39:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895165440001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":139380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:39:40] local.INFO: GPS data processed {"connection_id":139380,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:39:40] local.INFO: Acknowledgment sent {"connection_id":139380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:40:03] local.INFO: TCP Data received {"connection_id":141782,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:40:03] local.INFO: Processing buffer {"connection_id":141782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:40:03] local.INFO: IMEI packet received {"connection_id":141782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":141782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:40:08] local.INFO: TCP Data received {"connection_id":141782,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:40:08] local.INFO: Processing buffer {"connection_id":141782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:40:08] local.INFO: IMEI packet received {"connection_id":141782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":141782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:40:09] local.INFO: TCP Data received {"connection_id":141782,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:40:09] local.INFO: Processing buffer {"connection_id":141782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:40:09] local.INFO: Packet analysis {"connection_id":141782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:40:09] local.INFO: Extracted packet for processing {"connection_id":141782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:40:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:40:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":141782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:40:09] local.INFO: GPS data processed {"connection_id":141782,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:40:09] local.INFO: Acknowledgment sent {"connection_id":141782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:40:40] local.INFO: TCP Data received {"connection_id":141782,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:40:40] local.INFO: Processing buffer {"connection_id":141782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:40:40] local.INFO: Packet analysis {"connection_id":141782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:40:40] local.INFO: Extracted packet for processing {"connection_id":141782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:40:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:40:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":141782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:40:40] local.INFO: GPS data processed {"connection_id":141782,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:40:40] local.INFO: Acknowledgment sent {"connection_id":141782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:41:03] local.INFO: TCP Data received {"connection_id":140435,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:41:03] local.INFO: Processing buffer {"connection_id":140435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:41:03] local.INFO: IMEI packet received {"connection_id":140435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":140435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:41:08] local.INFO: TCP Data received {"connection_id":140435,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:41:08] local.INFO: Processing buffer {"connection_id":140435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:41:08] local.INFO: IMEI packet received {"connection_id":140435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":140435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:41:09] local.INFO: TCP Data received {"connection_id":140435,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:41:09] local.INFO: Processing buffer {"connection_id":140435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:41:09] local.INFO: Packet analysis {"connection_id":140435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:41:09] local.INFO: Extracted packet for processing {"connection_id":140435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:41:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:41:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":140435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:41:09] local.INFO: GPS data processed {"connection_id":140435,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:41:09] local.INFO: Acknowledgment sent {"connection_id":140435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:41:40] local.INFO: TCP Data received {"connection_id":140435,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:41:40] local.INFO: Processing buffer {"connection_id":140435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:41:40] local.INFO: Packet analysis {"connection_id":140435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:41:40] local.INFO: Extracted packet for processing {"connection_id":140435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:41:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":140435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:41:40] local.INFO: GPS data processed {"connection_id":140435,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:41:40] local.INFO: Acknowledgment sent {"connection_id":140435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:42:03] local.INFO: TCP Data received {"connection_id":139381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:42:03] local.INFO: Processing buffer {"connection_id":139381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:42:03] local.INFO: IMEI packet received {"connection_id":139381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":139381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:42:08] local.INFO: TCP Data received {"connection_id":139381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:42:08] local.INFO: Processing buffer {"connection_id":139381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:42:08] local.INFO: IMEI packet received {"connection_id":139381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":139381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:42:09] local.INFO: TCP Data received {"connection_id":139381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:42:09] local.INFO: Processing buffer {"connection_id":139381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:42:09] local.INFO: Packet analysis {"connection_id":139381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:42:09] local.INFO: Extracted packet for processing {"connection_id":139381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:42:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:42:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":139381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:42:09] local.INFO: GPS data processed {"connection_id":139381,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:42:09] local.INFO: Acknowledgment sent {"connection_id":139381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:42:40] local.INFO: TCP Data received {"connection_id":139381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:42:40] local.INFO: Processing buffer {"connection_id":139381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:42:40] local.INFO: Packet analysis {"connection_id":139381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:42:40] local.INFO: Extracted packet for processing {"connection_id":139381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:42:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:42:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":139381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:42:40] local.INFO: GPS data processed {"connection_id":139381,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:42:40] local.INFO: Acknowledgment sent {"connection_id":139381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:43:03] local.INFO: TCP Data received {"connection_id":140436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:43:03] local.INFO: Processing buffer {"connection_id":140436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:43:03] local.INFO: IMEI packet received {"connection_id":140436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":140436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:43:08] local.INFO: TCP Data received {"connection_id":140436,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:43:08] local.INFO: Processing buffer {"connection_id":140436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:43:08] local.INFO: IMEI packet received {"connection_id":140436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":140436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:43:09] local.INFO: TCP Data received {"connection_id":140436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:43:09] local.INFO: Processing buffer {"connection_id":140436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:43:09] local.INFO: Packet analysis {"connection_id":140436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:43:09] local.INFO: Extracted packet for processing {"connection_id":140436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:43:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:43:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":140436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:43:09] local.INFO: GPS data processed {"connection_id":140436,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:43:09] local.INFO: Acknowledgment sent {"connection_id":140436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:43:40] local.INFO: TCP Data received {"connection_id":140436,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:43:40] local.INFO: Processing buffer {"connection_id":140436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:43:40] local.INFO: Packet analysis {"connection_id":140436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:43:40] local.INFO: Extracted packet for processing {"connection_id":140436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:43:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:43:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":140436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:43:40] local.INFO: GPS data processed {"connection_id":140436,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:43:40] local.INFO: Acknowledgment sent {"connection_id":140436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:44:08] local.INFO: TCP Data received {"connection_id":141783,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:44:08] local.INFO: Processing buffer {"connection_id":141783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:44:08] local.INFO: IMEI packet received {"connection_id":141783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":141783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:44:13] local.INFO: TCP Data received {"connection_id":141783,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:44:13] local.INFO: Processing buffer {"connection_id":141783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:44:13] local.INFO: IMEI packet received {"connection_id":141783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":141783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:44:17] local.INFO: TCP Data received {"connection_id":141783,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:44:17] local.INFO: Processing buffer {"connection_id":141783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:44:17] local.INFO: Packet analysis {"connection_id":141783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:44:17] local.INFO: Extracted packet for processing {"connection_id":141783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:44:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":141783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:44:17] local.INFO: GPS data processed {"connection_id":141783,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:44:17] local.INFO: Acknowledgment sent {"connection_id":141783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:44:18] local.INFO: TCP Data received {"connection_id":141783,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:44:18] local.INFO: Processing buffer {"connection_id":141783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3b38b0012cb29bc007823b40004c003823..."} 
[2026-07-23 00:44:18] local.INFO: Packet analysis {"connection_id":141783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:44:18] local.INFO: Extracted packet for processing {"connection_id":141783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3b"} 
[2026-07-23 00:44:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895242496001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784747342000,"timestamp_ms":1784747342000,"timestamp_seconds":1784747342,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3b38b0"} 
[2026-07-23 00:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895242496001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895242496001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:44:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:44:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895242496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":141783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:44:18] local.INFO: GPS data processed {"connection_id":141783,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:44:18] local.INFO: Acknowledgment sent {"connection_id":141783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:45:03] local.INFO: TCP Data received {"connection_id":140437,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:45:03] local.INFO: Processing buffer {"connection_id":140437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:45:03] local.INFO: IMEI packet received {"connection_id":140437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":140437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:45:08] local.INFO: TCP Data received {"connection_id":140437,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:45:08] local.INFO: Processing buffer {"connection_id":140437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:45:08] local.INFO: IMEI packet received {"connection_id":140437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":140437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:45:09] local.INFO: TCP Data received {"connection_id":140437,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:45:09] local.INFO: Processing buffer {"connection_id":140437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:45:09] local.INFO: Packet analysis {"connection_id":140437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:45:09] local.INFO: Extracted packet for processing {"connection_id":140437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:45:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:45:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:45:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:45:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":140437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:45:09] local.INFO: GPS data processed {"connection_id":140437,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:45:09] local.INFO: Acknowledgment sent {"connection_id":140437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:45:40] local.INFO: TCP Data received {"connection_id":140437,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:45:40] local.INFO: Processing buffer {"connection_id":140437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:45:40] local.INFO: Packet analysis {"connection_id":140437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:45:40] local.INFO: Extracted packet for processing {"connection_id":140437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:45:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:45:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":140437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:45:40] local.INFO: GPS data processed {"connection_id":140437,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:45:40] local.INFO: Acknowledgment sent {"connection_id":140437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:46:03] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:46:03] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:46:03] local.INFO: IMEI packet received {"connection_id":139382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":139382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:46:08] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:46:08] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:46:08] local.INFO: IMEI packet received {"connection_id":139382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":139382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:46:09] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:46:09] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:46:09] local.INFO: Packet analysis {"connection_id":139382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:46:09] local.INFO: Extracted packet for processing {"connection_id":139382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:46:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":139382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:46:09] local.INFO: GPS data processed {"connection_id":139382,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:46:09] local.INFO: Acknowledgment sent {"connection_id":139382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:46:47] local.INFO: TCP Data received {"connection_id":139382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:46:47] local.INFO: Processing buffer {"connection_id":139382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:46:47] local.INFO: Packet analysis {"connection_id":139382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:46:47] local.INFO: Extracted packet for processing {"connection_id":139382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:46:47] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:46:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:46: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-07-23 00:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:46:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:46:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":139382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:46:47] local.INFO: GPS data processed {"connection_id":139382,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:46:47] local.INFO: Acknowledgment sent {"connection_id":139382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:47:03] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:47:03] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:47:03] local.INFO: IMEI packet received {"connection_id":139433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":139433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:47:08] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:47:08] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:47:08] local.INFO: IMEI packet received {"connection_id":139433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":139433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:47:09] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:47:09] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:47:09] local.INFO: Packet analysis {"connection_id":139433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:47:09] local.INFO: Extracted packet for processing {"connection_id":139433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:47:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:47:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":139433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:47:09] local.INFO: GPS data processed {"connection_id":139433,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:47:09] local.INFO: Acknowledgment sent {"connection_id":139433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:47:40] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:47:40] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:47:40] local.INFO: Packet analysis {"connection_id":139433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:47:40] local.INFO: Extracted packet for processing {"connection_id":139433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:47:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:47:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":139433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:47:40] local.INFO: GPS data processed {"connection_id":139433,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:47:40] local.INFO: Acknowledgment sent {"connection_id":139433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:48:03] local.INFO: TCP Data received {"connection_id":141784,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:48:03] local.INFO: Processing buffer {"connection_id":141784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:48:03] local.INFO: IMEI packet received {"connection_id":141784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":141784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:48:08] local.INFO: TCP Data received {"connection_id":141784,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:48:08] local.INFO: Processing buffer {"connection_id":141784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:48:08] local.INFO: IMEI packet received {"connection_id":141784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":141784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:48:09] local.INFO: TCP Data received {"connection_id":141784,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:48:09] local.INFO: Processing buffer {"connection_id":141784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:48:09] local.INFO: Packet analysis {"connection_id":141784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:48:09] local.INFO: Extracted packet for processing {"connection_id":141784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:48:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:48:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":141784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:48:09] local.INFO: GPS data processed {"connection_id":141784,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:48:09] local.INFO: Acknowledgment sent {"connection_id":141784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:48:40] local.INFO: TCP Data received {"connection_id":141784,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:48:40] local.INFO: Processing buffer {"connection_id":141784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:48:40] local.INFO: Packet analysis {"connection_id":141784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:48:40] local.INFO: Extracted packet for processing {"connection_id":141784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:48:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":141784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:48:40] local.INFO: GPS data processed {"connection_id":141784,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:48:40] local.INFO: Acknowledgment sent {"connection_id":141784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:49:03] local.INFO: TCP Data received {"connection_id":139383,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:49:03] local.INFO: Processing buffer {"connection_id":139383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:49:03] local.INFO: IMEI packet received {"connection_id":139383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":139383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:49:08] local.INFO: TCP Data received {"connection_id":139383,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:49:08] local.INFO: Processing buffer {"connection_id":139383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:49:08] local.INFO: IMEI packet received {"connection_id":139383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":139383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:49:09] local.INFO: TCP Data received {"connection_id":139383,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:49:09] local.INFO: Processing buffer {"connection_id":139383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:49:09] local.INFO: Packet analysis {"connection_id":139383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:49:09] local.INFO: Extracted packet for processing {"connection_id":139383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:49:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:49:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":139383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:49:09] local.INFO: GPS data processed {"connection_id":139383,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:49:09] local.INFO: Acknowledgment sent {"connection_id":139383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:49:40] local.INFO: TCP Data received {"connection_id":139383,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:49:40] local.INFO: Processing buffer {"connection_id":139383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b3fd078012cb29bc007823b400049003824..."} 
[2026-07-23 00:49:40] local.INFO: Packet analysis {"connection_id":139383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:49:40] local.INFO: Extracted packet for processing {"connection_id":139383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b3f"} 
[2026-07-23 00:49:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895319552001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747643000,"timestamp_ms":1784747643000,"timestamp_seconds":1784747643,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b3fd078"} 
[2026-07-23 00:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 00:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895319552001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895319552001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:49:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895319552001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":139383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:49:40] local.INFO: GPS data processed {"connection_id":139383,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:49:40] local.INFO: Acknowledgment sent {"connection_id":139383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:50:03] local.INFO: TCP Data received {"connection_id":139384,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:50:03] local.INFO: Processing buffer {"connection_id":139384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:50:03] local.INFO: IMEI packet received {"connection_id":139384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":139384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:50:08] local.INFO: TCP Data received {"connection_id":139384,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:50:08] local.INFO: Processing buffer {"connection_id":139384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:50:08] local.INFO: IMEI packet received {"connection_id":139384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":139384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:50:09] local.INFO: TCP Data received {"connection_id":139384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:50:09] local.INFO: Processing buffer {"connection_id":139384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:50:09] local.INFO: Packet analysis {"connection_id":139384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:50:09] local.INFO: Extracted packet for processing {"connection_id":139384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:50:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:50:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":139384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:50:09] local.INFO: GPS data processed {"connection_id":139384,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:50:09] local.INFO: Acknowledgment sent {"connection_id":139384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:50:40] local.INFO: TCP Data received {"connection_id":139384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:50:40] local.INFO: Processing buffer {"connection_id":139384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:50:40] local.INFO: Packet analysis {"connection_id":139384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:50:40] local.INFO: Extracted packet for processing {"connection_id":139384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:50:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":139384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:50:40] local.INFO: GPS data processed {"connection_id":139384,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:50:40] local.INFO: Acknowledgment sent {"connection_id":139384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:51:03] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:51:03] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:51:03] local.INFO: IMEI packet received {"connection_id":139434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":139434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:51:08] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:51:08] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:51:08] local.INFO: IMEI packet received {"connection_id":139434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":139434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:51:09] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:51:09] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:51:09] local.INFO: Packet analysis {"connection_id":139434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:51:09] local.INFO: Extracted packet for processing {"connection_id":139434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:51:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:51:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":139434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:51:09] local.INFO: GPS data processed {"connection_id":139434,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:51:09] local.INFO: Acknowledgment sent {"connection_id":139434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:51:40] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:51:40] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:51:40] local.INFO: Packet analysis {"connection_id":139434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:51:40] local.INFO: Extracted packet for processing {"connection_id":139434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":139434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:51:40] local.INFO: GPS data processed {"connection_id":139434,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:51:40] local.INFO: Acknowledgment sent {"connection_id":139434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:52:08] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:52:08] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:52:08] local.INFO: IMEI packet received {"connection_id":139435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":139435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:52:13] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:52:13] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:52:13] local.INFO: IMEI packet received {"connection_id":139435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":139435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:52:14] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:52:14] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:52:14] local.INFO: Packet analysis {"connection_id":139435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:52:14] local.INFO: Extracted packet for processing {"connection_id":139435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:52: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-07-23 00:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:52:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":139435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:52:14] local.INFO: GPS data processed {"connection_id":139435,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:52:14] local.INFO: Acknowledgment sent {"connection_id":139435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:52:19] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:52:19] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:52:19] local.INFO: Packet analysis {"connection_id":139435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:52:19] local.INFO: Extracted packet for processing {"connection_id":139435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":139435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:52:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":139435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:52:19] local.INFO: GPS data processed {"connection_id":139435,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:52:19] local.INFO: Acknowledgment sent {"connection_id":139435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:53:03] local.INFO: TCP Data received {"connection_id":140438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:53:03] local.INFO: Processing buffer {"connection_id":140438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:53:03] local.INFO: IMEI packet received {"connection_id":140438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":140438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:53:08] local.INFO: TCP Data received {"connection_id":140438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:53:08] local.INFO: Processing buffer {"connection_id":140438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:53:08] local.INFO: IMEI packet received {"connection_id":140438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":140438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:53:09] local.INFO: TCP Data received {"connection_id":140438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:53:09] local.INFO: Processing buffer {"connection_id":140438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:53:09] local.INFO: Packet analysis {"connection_id":140438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:53:09] local.INFO: Extracted packet for processing {"connection_id":140438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:53:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:53:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":140438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:53:09] local.INFO: GPS data processed {"connection_id":140438,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:53:09] local.INFO: Acknowledgment sent {"connection_id":140438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:53:40] local.INFO: TCP Data received {"connection_id":140438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:53:40] local.INFO: Processing buffer {"connection_id":140438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:53:40] local.INFO: Packet analysis {"connection_id":140438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:53:40] local.INFO: Extracted packet for processing {"connection_id":140438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:53:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:53:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":140438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:53:40] local.INFO: GPS data processed {"connection_id":140438,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:53:40] local.INFO: Acknowledgment sent {"connection_id":140438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:54:08] local.INFO: TCP Data received {"connection_id":141785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:54:08] local.INFO: Processing buffer {"connection_id":141785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:54:08] local.INFO: IMEI packet received {"connection_id":141785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":141785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:54:13] local.INFO: TCP Data received {"connection_id":141785,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:54:13] local.INFO: Processing buffer {"connection_id":141785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:54:13] local.INFO: IMEI packet received {"connection_id":141785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":141785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:54:14] local.INFO: TCP Data received {"connection_id":141785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:54:14] local.INFO: Processing buffer {"connection_id":141785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b446840012cb29bc007823b40004b003825..."} 
[2026-07-23 00:54:14] local.INFO: Packet analysis {"connection_id":141785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:54:14] local.INFO: Extracted packet for processing {"connection_id":141785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b44"} 
[2026-07-23 00:54:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895396608001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784747944000,"timestamp_ms":1784747944000,"timestamp_seconds":1784747944,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b446840"} 
[2026-07-23 00:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:54: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-07-23 00:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895396608001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895396608001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:54:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895396608001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":141785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:54:14] local.INFO: GPS data processed {"connection_id":141785,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:54:14] local.INFO: Acknowledgment sent {"connection_id":141785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:54:46] local.INFO: TCP Data received {"connection_id":141785,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:54:46] local.INFO: Processing buffer {"connection_id":141785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:54:46] local.INFO: Packet analysis {"connection_id":141785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:54:46] local.INFO: Extracted packet for processing {"connection_id":141785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:54:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":141785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:54:46] local.INFO: GPS data processed {"connection_id":141785,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:54:46] local.INFO: Acknowledgment sent {"connection_id":141785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:55:03] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:55:03] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:55:03] local.INFO: IMEI packet received {"connection_id":139436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":139436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:55:08] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:55:08] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:55:08] local.INFO: IMEI packet received {"connection_id":139436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":139436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:55:09] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:55:09] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:55:09] local.INFO: Packet analysis {"connection_id":139436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:55:09] local.INFO: Extracted packet for processing {"connection_id":139436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:55:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:55:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":139436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:55:09] local.INFO: GPS data processed {"connection_id":139436,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:55:09] local.INFO: Acknowledgment sent {"connection_id":139436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:55:40] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:55:40] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:55:40] local.INFO: Packet analysis {"connection_id":139436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:55:40] local.INFO: Extracted packet for processing {"connection_id":139436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:55:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:55:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":139436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:55:40] local.INFO: GPS data processed {"connection_id":139436,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:55:40] local.INFO: Acknowledgment sent {"connection_id":139436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:56:03] local.INFO: TCP Data received {"connection_id":140439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:56:03] local.INFO: Processing buffer {"connection_id":140439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:56:03] local.INFO: IMEI packet received {"connection_id":140439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":140439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:56:08] local.INFO: TCP Data received {"connection_id":140439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:56:08] local.INFO: Processing buffer {"connection_id":140439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:56:08] local.INFO: IMEI packet received {"connection_id":140439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":140439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:56:09] local.INFO: TCP Data received {"connection_id":140439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:56:09] local.INFO: Processing buffer {"connection_id":140439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:56:09] local.INFO: Packet analysis {"connection_id":140439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:56:09] local.INFO: Extracted packet for processing {"connection_id":140439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:56:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:56:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":140439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:56:09] local.INFO: GPS data processed {"connection_id":140439,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:56:09] local.INFO: Acknowledgment sent {"connection_id":140439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:56:40] local.INFO: TCP Data received {"connection_id":140439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:56:40] local.INFO: Processing buffer {"connection_id":140439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:56:40] local.INFO: Packet analysis {"connection_id":140439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:56:40] local.INFO: Extracted packet for processing {"connection_id":140439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:56:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:56:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":140439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:56:40] local.INFO: GPS data processed {"connection_id":140439,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:56:40] local.INFO: Acknowledgment sent {"connection_id":140439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:56:49] local.INFO: TCP Data received {"connection_id":140440,"ip":"172.236.228.222","data_length":207,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-23 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140440,"packet_length":207,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-23 00:56:49] local.INFO: Processing buffer {"connection_id":140440,"buffer_length":207,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-07-23 00:56:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":140440,"buffer_length":207,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-07-23 00:56:49] local.INFO: TCP Data received {"connection_id":141786,"ip":"172.236.228.222","data_length":128,"data_hex":"160301007b010000770303e04b24184e8782277e41b680bede197109e914b083..."} 
[2026-07-23 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141786,"packet_length":128,"packet_hex":"160301007b010000770303e04b24184e8782277e41b680bede197109e914b083..."} 
[2026-07-23 00:56:49] local.INFO: Processing buffer {"connection_id":141786,"buffer_length":128,"buffer_hex":"160301007b010000770303e04b24184e8782277e41b680bede197109e914b083..."} 
[2026-07-23 00:56:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":141786,"buffer_length":128,"first_bytes_hex":"160301007b010000770303e04b24184e"} 
[2026-07-23 00:56:49] local.INFO: TCP Data received {"connection_id":141786,"ip":"172.236.228.222","data_length":7,"data_hex":"15030100020216..."} 
[2026-07-23 00:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141786,"packet_length":7,"packet_hex":"15030100020216..."} 
[2026-07-23 00:56:49] local.INFO: Processing buffer {"connection_id":141786,"buffer_length":7,"buffer_hex":"15030100020216..."} 
[2026-07-23 00:57:03] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:57:03] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:57:03] local.INFO: IMEI packet received {"connection_id":139385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":139385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:57:08] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:57:08] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:57:08] local.INFO: IMEI packet received {"connection_id":139385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":139385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:57:09] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:57:09] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:57:09] local.INFO: Packet analysis {"connection_id":139385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:57:09] local.INFO: Extracted packet for processing {"connection_id":139385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:57:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":139385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:57:09] local.INFO: GPS data processed {"connection_id":139385,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:57:09] local.INFO: Acknowledgment sent {"connection_id":139385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:57:40] local.INFO: TCP Data received {"connection_id":139385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:57:40] local.INFO: Processing buffer {"connection_id":139385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:57:40] local.INFO: Packet analysis {"connection_id":139385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:57:40] local.INFO: Extracted packet for processing {"connection_id":139385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:57:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":139385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:57:40] local.INFO: GPS data processed {"connection_id":139385,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:57:40] local.INFO: Acknowledgment sent {"connection_id":139385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:58:04] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:58:04] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:58:04] local.INFO: IMEI packet received {"connection_id":139437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":139437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:58:08] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:58:08] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:58:08] local.INFO: IMEI packet received {"connection_id":139437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":139437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:58:11] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:11] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:11] local.INFO: Packet analysis {"connection_id":139437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:58:11] local.INFO: Extracted packet for processing {"connection_id":139437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:58: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-07-23 00:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":139437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:58:11] local.INFO: GPS data processed {"connection_id":139437,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:58:11] local.INFO: Acknowledgment sent {"connection_id":139437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:58:14] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:14] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:14] local.INFO: Packet analysis {"connection_id":139437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:58:14] local.INFO: Extracted packet for processing {"connection_id":139437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:58:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:58: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-07-23 00:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:58:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":139437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:58:14] local.INFO: GPS data processed {"connection_id":139437,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:58:14] local.INFO: Acknowledgment sent {"connection_id":139437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:58:46] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:46] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:58:46] local.INFO: Packet analysis {"connection_id":139437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:58:46] local.INFO: Extracted packet for processing {"connection_id":139437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:58:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:58:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":139437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:58:46] local.INFO: GPS data processed {"connection_id":139437,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:58:46] local.INFO: Acknowledgment sent {"connection_id":139437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:59:03] local.INFO: TCP Data received {"connection_id":141787,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:59:03] local.INFO: Processing buffer {"connection_id":141787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:59:03] local.INFO: IMEI packet received {"connection_id":141787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 00:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":141787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 00:59:08] local.INFO: TCP Data received {"connection_id":141787,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:59:08] local.INFO: Processing buffer {"connection_id":141787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 00:59:08] local.INFO: IMEI packet received {"connection_id":141787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 00:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":141787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 00:59:09] local.INFO: TCP Data received {"connection_id":141787,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:59:09] local.INFO: Processing buffer {"connection_id":141787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:59:09] local.INFO: Packet analysis {"connection_id":141787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:59:09] local.INFO: Extracted packet for processing {"connection_id":141787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:59:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00: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-07-23 00:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00: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-07-23 00:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:59:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":141787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:59:09] local.INFO: GPS data processed {"connection_id":141787,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:59:09] local.INFO: Acknowledgment sent {"connection_id":141787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 00:59:41] local.INFO: TCP Data received {"connection_id":141787,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:59:41] local.INFO: Processing buffer {"connection_id":141787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b490008012cb29bc007823b40004b003825..."} 
[2026-07-23 00:59:41] local.INFO: Packet analysis {"connection_id":141787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:59:41] local.INFO: Extracted packet for processing {"connection_id":141787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b49"} 
[2026-07-23 00:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 00:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 00:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895473664001,"note":"Value kept but may cause issues"} 
[2026-07-23 00:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 00:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 00:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 00:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784748245000,"timestamp_ms":1784748245000,"timestamp_seconds":1784748245,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b490008"} 
[2026-07-23 00:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 00:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 00:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 00:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 00:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 00:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 00:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 00:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 00:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 00:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 00:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 00:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 00:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895473664001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 00:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 00:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 00:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895473664001,"description":"Unknown IO ID 0"} 
[2026-07-23 00:59:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 00:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 00:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 00:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 00:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895473664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 00:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":141787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 00:59:41] local.INFO: GPS data processed {"connection_id":141787,"processed":1,"errors":0,"total":1} 
[2026-07-23 00:59:41] local.INFO: Acknowledgment sent {"connection_id":141787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:00:08] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:00:08] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:00:08] local.INFO: IMEI packet received {"connection_id":139438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":139438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:00:13] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:00:13] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:00:13] local.INFO: IMEI packet received {"connection_id":139438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":139438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:00:15] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:00:15] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:00:15] local.INFO: Packet analysis {"connection_id":139438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:00:15] local.INFO: Extracted packet for processing {"connection_id":139438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:00:15] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":139438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:00:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:00:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":139438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:00:15] local.INFO: GPS data processed {"connection_id":139438,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:00:15] local.INFO: Acknowledgment sent {"connection_id":139438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:00:46] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:00:46] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:00:46] local.INFO: Packet analysis {"connection_id":139438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:00:46] local.INFO: Extracted packet for processing {"connection_id":139438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:00:46] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:00:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:00:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":139438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:00:46] local.INFO: GPS data processed {"connection_id":139438,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:00:46] local.INFO: Acknowledgment sent {"connection_id":139438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:01:07] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:01:07] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:01:07] local.INFO: IMEI packet received {"connection_id":139439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":139439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:01:08] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:01:08] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:01:08] local.INFO: IMEI packet received {"connection_id":139439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":139439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:01:09] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:09] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:09] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:01:09] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:01:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:01:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:01:09] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:01:09] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:01:14] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:14] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:14] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:01:14] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:01:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:01: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-07-23 01:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:01:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:01:14] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:01:14] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:01:45] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:45] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:01:45] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:01:45] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:01:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:01: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-07-23 01: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-07-23 01:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:01:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:01:45] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:01:45] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:02:08] local.INFO: TCP Data received {"connection_id":140441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:02:08] local.INFO: Processing buffer {"connection_id":140441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:02:08] local.INFO: IMEI packet received {"connection_id":140441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":140441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:02:13] local.INFO: TCP Data received {"connection_id":140441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:02:13] local.INFO: Processing buffer {"connection_id":140441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:02:13] local.INFO: IMEI packet received {"connection_id":140441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":140441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:02:14] local.INFO: TCP Data received {"connection_id":140441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:02:14] local.INFO: Processing buffer {"connection_id":140441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:02:14] local.INFO: Packet analysis {"connection_id":140441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:02:14] local.INFO: Extracted packet for processing {"connection_id":140441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:02:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:02: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-07-23 01:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:02:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":140441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:02:14] local.INFO: GPS data processed {"connection_id":140441,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:02:14] local.INFO: Acknowledgment sent {"connection_id":140441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:02:45] local.INFO: TCP Data received {"connection_id":140441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:02:45] local.INFO: Processing buffer {"connection_id":140441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:02:45] local.INFO: Packet analysis {"connection_id":140441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:02:45] local.INFO: Extracted packet for processing {"connection_id":140441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:02: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-07-23 01:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":140441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":140441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":140441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:02:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":140441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:02:45] local.INFO: GPS data processed {"connection_id":140441,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:02:45] local.INFO: Acknowledgment sent {"connection_id":140441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:03:03] local.INFO: TCP Data received {"connection_id":141788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:03:03] local.INFO: Processing buffer {"connection_id":141788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:03:03] local.INFO: IMEI packet received {"connection_id":141788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":141788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:03:08] local.INFO: TCP Data received {"connection_id":141788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:03:08] local.INFO: Processing buffer {"connection_id":141788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:03:08] local.INFO: IMEI packet received {"connection_id":141788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":141788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:03:08] local.INFO: TCP Data received {"connection_id":141788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:03:08] local.INFO: Processing buffer {"connection_id":141788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:03:08] local.INFO: Packet analysis {"connection_id":141788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:03:08] local.INFO: Extracted packet for processing {"connection_id":141788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:03:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:03:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":141788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:03:08] local.INFO: GPS data processed {"connection_id":141788,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:03:08] local.INFO: Acknowledgment sent {"connection_id":141788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:03:40] local.INFO: TCP Data received {"connection_id":141788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:03:40] local.INFO: Processing buffer {"connection_id":141788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:03:40] local.INFO: Packet analysis {"connection_id":141788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:03:40] local.INFO: Extracted packet for processing {"connection_id":141788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":141788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:03:40] local.INFO: GPS data processed {"connection_id":141788,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:03:40] local.INFO: Acknowledgment sent {"connection_id":141788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:04:03] local.INFO: TCP Data received {"connection_id":141789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:04:03] local.INFO: Processing buffer {"connection_id":141789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:04:03] local.INFO: IMEI packet received {"connection_id":141789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":141789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:04:08] local.INFO: TCP Data received {"connection_id":141789,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:04:08] local.INFO: Processing buffer {"connection_id":141789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:04:08] local.INFO: IMEI packet received {"connection_id":141789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":141789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:04:09] local.INFO: TCP Data received {"connection_id":141789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:04:09] local.INFO: Processing buffer {"connection_id":141789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:04:09] local.INFO: Packet analysis {"connection_id":141789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:04:09] local.INFO: Extracted packet for processing {"connection_id":141789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:04:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:04:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":141789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:04:09] local.INFO: GPS data processed {"connection_id":141789,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:04:09] local.INFO: Acknowledgment sent {"connection_id":141789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:04:40] local.INFO: TCP Data received {"connection_id":141789,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:04:40] local.INFO: Processing buffer {"connection_id":141789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b4d97d0012cb29bc007823b40004a003825..."} 
[2026-07-23 01:04:40] local.INFO: Packet analysis {"connection_id":141789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:04:40] local.INFO: Extracted packet for processing {"connection_id":141789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b4d"} 
[2026-07-23 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895550720001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748546000,"timestamp_ms":1784748546000,"timestamp_seconds":1784748546,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b4d97d0"} 
[2026-07-23 01:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895550720001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895550720001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895550720001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":141789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:04:40] local.INFO: GPS data processed {"connection_id":141789,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:04:40] local.INFO: Acknowledgment sent {"connection_id":141789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:05:04] local.INFO: TCP Data received {"connection_id":139386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:05:04] local.INFO: Processing buffer {"connection_id":139386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:05:04] local.INFO: IMEI packet received {"connection_id":139386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":139386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:05:08] local.INFO: TCP Data received {"connection_id":139386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:05:08] local.INFO: Processing buffer {"connection_id":139386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:05:08] local.INFO: IMEI packet received {"connection_id":139386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":139386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:05:09] local.INFO: TCP Data received {"connection_id":139386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:09] local.INFO: Processing buffer {"connection_id":139386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:09] local.INFO: Packet analysis {"connection_id":139386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:05:09] local.INFO: Extracted packet for processing {"connection_id":139386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:05:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:05:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":139386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:05:09] local.INFO: GPS data processed {"connection_id":139386,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:05:09] local.INFO: Acknowledgment sent {"connection_id":139386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:05:15] local.INFO: TCP Data received {"connection_id":139386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:15] local.INFO: Processing buffer {"connection_id":139386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:15] local.INFO: Packet analysis {"connection_id":139386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:05:15] local.INFO: Extracted packet for processing {"connection_id":139386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:05:15] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":139386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":139386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":139386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:05:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:05:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":139386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:05:15] local.INFO: GPS data processed {"connection_id":139386,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:05:15] local.INFO: Acknowledgment sent {"connection_id":139386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:05:46] local.INFO: TCP Data received {"connection_id":139386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:46] local.INFO: Processing buffer {"connection_id":139386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:05:46] local.INFO: Packet analysis {"connection_id":139386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:05:46] local.INFO: Extracted packet for processing {"connection_id":139386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:05:46] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":139386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":139386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":139386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:05:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:05:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":139386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:05:46] local.INFO: GPS data processed {"connection_id":139386,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:05:46] local.INFO: Acknowledgment sent {"connection_id":139386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:06:03] local.INFO: TCP Data received {"connection_id":141790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:06:03] local.INFO: Processing buffer {"connection_id":141790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:06:03] local.INFO: IMEI packet received {"connection_id":141790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":141790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:06:08] local.INFO: TCP Data received {"connection_id":141790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:06:08] local.INFO: Processing buffer {"connection_id":141790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:06:08] local.INFO: IMEI packet received {"connection_id":141790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":141790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:06:09] local.INFO: TCP Data received {"connection_id":141790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:06:09] local.INFO: Processing buffer {"connection_id":141790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:06:09] local.INFO: Packet analysis {"connection_id":141790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:06:09] local.INFO: Extracted packet for processing {"connection_id":141790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:06:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":141790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:06:09] local.INFO: GPS data processed {"connection_id":141790,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:06:09] local.INFO: Acknowledgment sent {"connection_id":141790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:06:21] local.INFO: TCP Data received {"connection_id":140442,"ip":"45.56.79.53","data_length":122,"data_hex":"16030100750100007103032370e57087a0cd9e13dddb1ed1e7f721997a13d1ae..."} 
[2026-07-23 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140442,"packet_length":122,"packet_hex":"16030100750100007103032370e57087a0cd9e13dddb1ed1e7f721997a13d1ae..."} 
[2026-07-23 01:06:21] local.INFO: Processing buffer {"connection_id":140442,"buffer_length":122,"buffer_hex":"16030100750100007103032370e57087a0cd9e13dddb1ed1e7f721997a13d1ae..."} 
[2026-07-23 01:06:21] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":140442,"buffer_length":122,"first_bytes_hex":"16030100750100007103032370e57087"} 
[2026-07-23 01:06:40] local.INFO: TCP Data received {"connection_id":141790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:06:40] local.INFO: Processing buffer {"connection_id":141790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:06:40] local.INFO: Packet analysis {"connection_id":141790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:06:40] local.INFO: Extracted packet for processing {"connection_id":141790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":141790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:06:40] local.INFO: GPS data processed {"connection_id":141790,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:06:40] local.INFO: Acknowledgment sent {"connection_id":141790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:07:03] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:07:03] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:07:03] local.INFO: IMEI packet received {"connection_id":139440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":139440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:07:08] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:07:08] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:07:08] local.INFO: IMEI packet received {"connection_id":139440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":139440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:07:09] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:07:09] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:07:09] local.INFO: Packet analysis {"connection_id":139440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:07:09] local.INFO: Extracted packet for processing {"connection_id":139440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:07:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:07:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":139440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:07:09] local.INFO: GPS data processed {"connection_id":139440,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:07:09] local.INFO: Acknowledgment sent {"connection_id":139440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:07:40] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:07:40] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:07:40] local.INFO: Packet analysis {"connection_id":139440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:07:40] local.INFO: Extracted packet for processing {"connection_id":139440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:07:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:07:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":139440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:07:40] local.INFO: GPS data processed {"connection_id":139440,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:07:40] local.INFO: Acknowledgment sent {"connection_id":139440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:08:08] local.INFO: TCP Data received {"connection_id":141791,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:08:08] local.INFO: Processing buffer {"connection_id":141791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:08:08] local.INFO: IMEI packet received {"connection_id":141791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":141791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:08:13] local.INFO: TCP Data received {"connection_id":141791,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:08:13] local.INFO: Processing buffer {"connection_id":141791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:08:13] local.INFO: IMEI packet received {"connection_id":141791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":141791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:08:14] local.INFO: TCP Data received {"connection_id":141791,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:08:14] local.INFO: Processing buffer {"connection_id":141791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:08:14] local.INFO: Packet analysis {"connection_id":141791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:08:14] local.INFO: Extracted packet for processing {"connection_id":141791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:08:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:08: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-07-23 01:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:08:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":141791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:08:14] local.INFO: GPS data processed {"connection_id":141791,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:08:14] local.INFO: Acknowledgment sent {"connection_id":141791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:08:45] local.INFO: TCP Data received {"connection_id":141791,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:08:45] local.INFO: Processing buffer {"connection_id":141791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:08:45] local.INFO: Packet analysis {"connection_id":141791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:08:45] local.INFO: Extracted packet for processing {"connection_id":141791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:08:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:08: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-07-23 01:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:08:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":141791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:08:45] local.INFO: GPS data processed {"connection_id":141791,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:08:45] local.INFO: Acknowledgment sent {"connection_id":141791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:09:03] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:09:03] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:09:03] local.INFO: IMEI packet received {"connection_id":139387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":139387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:09:08] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:09:08] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:09:08] local.INFO: IMEI packet received {"connection_id":139387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":139387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:09:09] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:09:09] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:09:09] local.INFO: Packet analysis {"connection_id":139387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:09:09] local.INFO: Extracted packet for processing {"connection_id":139387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":139387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:09:09] local.INFO: GPS data processed {"connection_id":139387,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:09:09] local.INFO: Acknowledgment sent {"connection_id":139387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:09:40] local.INFO: TCP Data received {"connection_id":139387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:09:40] local.INFO: Processing buffer {"connection_id":139387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b522f98012cb29bc007823b400045003826..."} 
[2026-07-23 01:09:40] local.INFO: Packet analysis {"connection_id":139387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:09:40] local.INFO: Extracted packet for processing {"connection_id":139387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b52"} 
[2026-07-23 01:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895627776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784748847000,"timestamp_ms":1784748847000,"timestamp_seconds":1784748847,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b522f98"} 
[2026-07-23 01:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895627776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895627776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:09:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895627776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":139387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:09:40] local.INFO: GPS data processed {"connection_id":139387,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:09:40] local.INFO: Acknowledgment sent {"connection_id":139387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:10:03] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:10:03] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:10:03] local.INFO: IMEI packet received {"connection_id":139441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":139441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:10:08] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:10:08] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:10:08] local.INFO: IMEI packet received {"connection_id":139441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":139441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:10:09] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:10:09] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:10:09] local.INFO: Packet analysis {"connection_id":139441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:10:09] local.INFO: Extracted packet for processing {"connection_id":139441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:10:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:10:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":139441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:10:09] local.INFO: GPS data processed {"connection_id":139441,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:10:09] local.INFO: Acknowledgment sent {"connection_id":139441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:10:40] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:10:40] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:10:40] local.INFO: Packet analysis {"connection_id":139441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:10:40] local.INFO: Extracted packet for processing {"connection_id":139441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:10:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":139441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:10:40] local.INFO: GPS data processed {"connection_id":139441,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:10:40] local.INFO: Acknowledgment sent {"connection_id":139441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:11:03] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:11:03] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:11:03] local.INFO: IMEI packet received {"connection_id":139388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":139388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:11:08] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:11:08] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:11:08] local.INFO: IMEI packet received {"connection_id":139388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":139388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:11:09] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:11:09] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:11:09] local.INFO: Packet analysis {"connection_id":139388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:11:09] local.INFO: Extracted packet for processing {"connection_id":139388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:11:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:11:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":139388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:11:09] local.INFO: GPS data processed {"connection_id":139388,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:11:09] local.INFO: Acknowledgment sent {"connection_id":139388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:11:40] local.INFO: TCP Data received {"connection_id":139388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:11:40] local.INFO: Processing buffer {"connection_id":139388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:11:40] local.INFO: Packet analysis {"connection_id":139388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:11:40] local.INFO: Extracted packet for processing {"connection_id":139388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:11:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:11:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":139388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:11:40] local.INFO: GPS data processed {"connection_id":139388,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:11:40] local.INFO: Acknowledgment sent {"connection_id":139388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:12:03] local.INFO: TCP Data received {"connection_id":140443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:12:03] local.INFO: Processing buffer {"connection_id":140443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:12:03] local.INFO: IMEI packet received {"connection_id":140443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":140443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:12:08] local.INFO: TCP Data received {"connection_id":140443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:12:08] local.INFO: Processing buffer {"connection_id":140443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:12:08] local.INFO: IMEI packet received {"connection_id":140443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":140443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:12:09] local.INFO: TCP Data received {"connection_id":140443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:12:09] local.INFO: Processing buffer {"connection_id":140443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:12:09] local.INFO: Packet analysis {"connection_id":140443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:12:09] local.INFO: Extracted packet for processing {"connection_id":140443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:12:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:12:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":140443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:12:09] local.INFO: GPS data processed {"connection_id":140443,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:12:09] local.INFO: Acknowledgment sent {"connection_id":140443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:12:40] local.INFO: TCP Data received {"connection_id":140443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:12:40] local.INFO: Processing buffer {"connection_id":140443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:12:40] local.INFO: Packet analysis {"connection_id":140443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:12:40] local.INFO: Extracted packet for processing {"connection_id":140443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:12:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:12:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":140443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:12:40] local.INFO: GPS data processed {"connection_id":140443,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:12:40] local.INFO: Acknowledgment sent {"connection_id":140443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:13:03] local.INFO: TCP Data received {"connection_id":141792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:13:03] local.INFO: Processing buffer {"connection_id":141792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:13:03] local.INFO: IMEI packet received {"connection_id":141792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":141792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:13:08] local.INFO: TCP Data received {"connection_id":141792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:13:08] local.INFO: Processing buffer {"connection_id":141792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:13:08] local.INFO: IMEI packet received {"connection_id":141792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":141792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:13:09] local.INFO: TCP Data received {"connection_id":141792,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:13:09] local.INFO: Processing buffer {"connection_id":141792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:13:09] local.INFO: Packet analysis {"connection_id":141792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:13:09] local.INFO: Extracted packet for processing {"connection_id":141792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:13:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:13:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":141792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:13:09] local.INFO: GPS data processed {"connection_id":141792,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:13:09] local.INFO: Acknowledgment sent {"connection_id":141792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:13:40] local.INFO: TCP Data received {"connection_id":141792,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:13:40] local.INFO: Processing buffer {"connection_id":141792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:13:40] local.INFO: Packet analysis {"connection_id":141792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:13:40] local.INFO: Extracted packet for processing {"connection_id":141792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:13:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":141792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:13:40] local.INFO: GPS data processed {"connection_id":141792,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:13:40] local.INFO: Acknowledgment sent {"connection_id":141792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:14:04] local.INFO: TCP Data received {"connection_id":139389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:14:04] local.INFO: Processing buffer {"connection_id":139389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:14:04] local.INFO: IMEI packet received {"connection_id":139389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":139389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:14:08] local.INFO: TCP Data received {"connection_id":139389,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:14:08] local.INFO: Processing buffer {"connection_id":139389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:14:08] local.INFO: IMEI packet received {"connection_id":139389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":139389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:14:09] local.INFO: TCP Data received {"connection_id":139389,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:14:09] local.INFO: Processing buffer {"connection_id":139389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:14:09] local.INFO: Packet analysis {"connection_id":139389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:14:09] local.INFO: Extracted packet for processing {"connection_id":139389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:14:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:14:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":139389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:14:09] local.INFO: GPS data processed {"connection_id":139389,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:14:09] local.INFO: Acknowledgment sent {"connection_id":139389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:14:40] local.INFO: TCP Data received {"connection_id":139389,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:14:40] local.INFO: Processing buffer {"connection_id":139389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b56c760012cb29bc007823b400047003826..."} 
[2026-07-23 01:14:40] local.INFO: Packet analysis {"connection_id":139389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:14:40] local.INFO: Extracted packet for processing {"connection_id":139389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b56"} 
[2026-07-23 01:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895704832001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749148000,"timestamp_ms":1784749148000,"timestamp_seconds":1784749148,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b56c760"} 
[2026-07-23 01:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895704832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895704832001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:14:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895704832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":139389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:14:40] local.INFO: GPS data processed {"connection_id":139389,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:14:40] local.INFO: Acknowledgment sent {"connection_id":139389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:15:03] local.INFO: TCP Data received {"connection_id":141793,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:15:03] local.INFO: Processing buffer {"connection_id":141793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:15:03] local.INFO: IMEI packet received {"connection_id":141793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":141793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:15:08] local.INFO: TCP Data received {"connection_id":141793,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:15:08] local.INFO: Processing buffer {"connection_id":141793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:15:08] local.INFO: IMEI packet received {"connection_id":141793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":141793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:15:09] local.INFO: TCP Data received {"connection_id":141793,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:15:09] local.INFO: Processing buffer {"connection_id":141793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:15:09] local.INFO: Packet analysis {"connection_id":141793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:15:09] local.INFO: Extracted packet for processing {"connection_id":141793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:15:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:15:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":141793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:15:09] local.INFO: GPS data processed {"connection_id":141793,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:15:09] local.INFO: Acknowledgment sent {"connection_id":141793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:15:40] local.INFO: TCP Data received {"connection_id":141793,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:15:40] local.INFO: Processing buffer {"connection_id":141793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:15:40] local.INFO: Packet analysis {"connection_id":141793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:15:40] local.INFO: Extracted packet for processing {"connection_id":141793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:15:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:15:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":141793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:15:40] local.INFO: GPS data processed {"connection_id":141793,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:15:40] local.INFO: Acknowledgment sent {"connection_id":141793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:16:03] local.INFO: TCP Data received {"connection_id":140444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:16:03] local.INFO: Processing buffer {"connection_id":140444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:16:03] local.INFO: IMEI packet received {"connection_id":140444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":140444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:16:08] local.INFO: TCP Data received {"connection_id":140444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:16:08] local.INFO: Processing buffer {"connection_id":140444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:16:08] local.INFO: IMEI packet received {"connection_id":140444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":140444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:16:09] local.INFO: TCP Data received {"connection_id":140444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:16:09] local.INFO: Processing buffer {"connection_id":140444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:16:09] local.INFO: Packet analysis {"connection_id":140444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:16:09] local.INFO: Extracted packet for processing {"connection_id":140444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:16:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:16:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":140444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:16:09] local.INFO: GPS data processed {"connection_id":140444,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:16:09] local.INFO: Acknowledgment sent {"connection_id":140444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:16:40] local.INFO: TCP Data received {"connection_id":140444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:16:40] local.INFO: Processing buffer {"connection_id":140444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:16:40] local.INFO: Packet analysis {"connection_id":140444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:16:40] local.INFO: Extracted packet for processing {"connection_id":140444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:16:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":140444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:16:40] local.INFO: GPS data processed {"connection_id":140444,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:16:40] local.INFO: Acknowledgment sent {"connection_id":140444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:17:08] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:17:08] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:17:08] local.INFO: IMEI packet received {"connection_id":139442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":139442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:17:09] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:17:09] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:17:09] local.INFO: Packet analysis {"connection_id":139442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:17:09] local.INFO: Extracted packet for processing {"connection_id":139442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:17:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:17:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:17:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:17:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:17:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":139442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:17:09] local.INFO: GPS data processed {"connection_id":139442,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:17:09] local.INFO: Acknowledgment sent {"connection_id":139442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:17:40] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:17:40] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:17:40] local.INFO: Packet analysis {"connection_id":139442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:17:40] local.INFO: Extracted packet for processing {"connection_id":139442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:17:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:17:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:17:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:17:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":139442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:17:40] local.INFO: GPS data processed {"connection_id":139442,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:17:40] local.INFO: Acknowledgment sent {"connection_id":139442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:18:03] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:18:03] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:18:03] local.INFO: IMEI packet received {"connection_id":139390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":139390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:18:08] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:18:08] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:18:08] local.INFO: IMEI packet received {"connection_id":139390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":139390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:18:09] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:09] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:09] local.INFO: Packet analysis {"connection_id":139390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:18:09] local.INFO: Extracted packet for processing {"connection_id":139390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:18:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:18:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":139390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:18:09] local.INFO: GPS data processed {"connection_id":139390,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:18:09] local.INFO: Acknowledgment sent {"connection_id":139390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:18:13] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:13] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:13] local.INFO: Packet analysis {"connection_id":139390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:18:13] local.INFO: Extracted packet for processing {"connection_id":139390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:18:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:18:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":139390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:18:13] local.INFO: GPS data processed {"connection_id":139390,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:18:13] local.INFO: Acknowledgment sent {"connection_id":139390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:18:44] local.INFO: TCP Data received {"connection_id":139390,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:44] local.INFO: Processing buffer {"connection_id":139390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:18:44] local.INFO: Packet analysis {"connection_id":139390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:18:44] local.INFO: Extracted packet for processing {"connection_id":139390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:18:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":139390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":139390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":139390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:18:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:18:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":139390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:18:44] local.INFO: GPS data processed {"connection_id":139390,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:18:44] local.INFO: Acknowledgment sent {"connection_id":139390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:19:03] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:19:03] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:19:03] local.INFO: IMEI packet received {"connection_id":139443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":139443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:19:08] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:19:08] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:19:08] local.INFO: IMEI packet received {"connection_id":139443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":139443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:19:09] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:19:09] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:19:09] local.INFO: Packet analysis {"connection_id":139443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:19:09] local.INFO: Extracted packet for processing {"connection_id":139443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:19:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:19:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":139443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:19:09] local.INFO: GPS data processed {"connection_id":139443,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:19:09] local.INFO: Acknowledgment sent {"connection_id":139443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:19:40] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:19:40] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5b5f28012cb29bc007823b400049003825..."} 
[2026-07-23 01:19:40] local.INFO: Packet analysis {"connection_id":139443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:19:40] local.INFO: Extracted packet for processing {"connection_id":139443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5b"} 
[2026-07-23 01:19:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895781888001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749449000,"timestamp_ms":1784749449000,"timestamp_seconds":1784749449,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5b5f28"} 
[2026-07-23 01:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895781888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895781888001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:19:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895781888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":139443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:19:40] local.INFO: GPS data processed {"connection_id":139443,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:19:40] local.INFO: Acknowledgment sent {"connection_id":139443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:20:03] local.INFO: TCP Data received {"connection_id":140445,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:20:03] local.INFO: Processing buffer {"connection_id":140445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:20:03] local.INFO: IMEI packet received {"connection_id":140445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":140445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:20:08] local.INFO: TCP Data received {"connection_id":140445,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:20:08] local.INFO: Processing buffer {"connection_id":140445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:20:08] local.INFO: IMEI packet received {"connection_id":140445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":140445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:20:09] local.INFO: TCP Data received {"connection_id":140445,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:20:09] local.INFO: Processing buffer {"connection_id":140445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:20:09] local.INFO: Packet analysis {"connection_id":140445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:20:09] local.INFO: Extracted packet for processing {"connection_id":140445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:20:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:20:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":140445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:20:09] local.INFO: GPS data processed {"connection_id":140445,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:20:09] local.INFO: Acknowledgment sent {"connection_id":140445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:20:41] local.INFO: TCP Data received {"connection_id":140445,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:20:41] local.INFO: Processing buffer {"connection_id":140445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:20:41] local.INFO: Packet analysis {"connection_id":140445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:20:41] local.INFO: Extracted packet for processing {"connection_id":140445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:20:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":140445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:20:41] local.INFO: GPS data processed {"connection_id":140445,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:20:41] local.INFO: Acknowledgment sent {"connection_id":140445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:21:03] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:21:03] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:21:03] local.INFO: IMEI packet received {"connection_id":139391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":139391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:21:08] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:21:08] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:21:08] local.INFO: IMEI packet received {"connection_id":139391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":139391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:21:09] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:21:09] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:21:09] local.INFO: Packet analysis {"connection_id":139391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:21:09] local.INFO: Extracted packet for processing {"connection_id":139391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:21:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:21:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":139391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:21:09] local.INFO: GPS data processed {"connection_id":139391,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:21:09] local.INFO: Acknowledgment sent {"connection_id":139391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:21:40] local.INFO: TCP Data received {"connection_id":139391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:21:40] local.INFO: Processing buffer {"connection_id":139391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:21:40] local.INFO: Packet analysis {"connection_id":139391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:21:40] local.INFO: Extracted packet for processing {"connection_id":139391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:21:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":139391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:21:40] local.INFO: GPS data processed {"connection_id":139391,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:21:40] local.INFO: Acknowledgment sent {"connection_id":139391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:22:08] local.INFO: TCP Data received {"connection_id":141794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:22:08] local.INFO: Processing buffer {"connection_id":141794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:22:08] local.INFO: IMEI packet received {"connection_id":141794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":141794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:22:13] local.INFO: TCP Data received {"connection_id":141794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:22:13] local.INFO: Processing buffer {"connection_id":141794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:22:13] local.INFO: IMEI packet received {"connection_id":141794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":141794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:22:14] local.INFO: TCP Data received {"connection_id":141794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:22:14] local.INFO: Processing buffer {"connection_id":141794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:22:14] local.INFO: Packet analysis {"connection_id":141794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:22:14] local.INFO: Extracted packet for processing {"connection_id":141794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:22:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:22: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-07-23 01:22: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-07-23 01:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:22:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":141794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:22:14] local.INFO: GPS data processed {"connection_id":141794,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:22:14] local.INFO: Acknowledgment sent {"connection_id":141794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:22:18] local.INFO: TCP Data received {"connection_id":141794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:22:18] local.INFO: Processing buffer {"connection_id":141794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:22:18] local.INFO: Packet analysis {"connection_id":141794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:22:18] local.INFO: Extracted packet for processing {"connection_id":141794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:22:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:22:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":141794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:22:18] local.INFO: GPS data processed {"connection_id":141794,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:22:18] local.INFO: Acknowledgment sent {"connection_id":141794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:23:03] local.INFO: TCP Data received {"connection_id":141795,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:23:03] local.INFO: Processing buffer {"connection_id":141795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:23:03] local.INFO: IMEI packet received {"connection_id":141795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":141795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:23:08] local.INFO: TCP Data received {"connection_id":141795,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:23:08] local.INFO: Processing buffer {"connection_id":141795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:23:08] local.INFO: IMEI packet received {"connection_id":141795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":141795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:23:09] local.INFO: TCP Data received {"connection_id":141795,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:23:09] local.INFO: Processing buffer {"connection_id":141795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:23:09] local.INFO: Packet analysis {"connection_id":141795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:23:09] local.INFO: Extracted packet for processing {"connection_id":141795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:23:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:23:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":141795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:23:09] local.INFO: GPS data processed {"connection_id":141795,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:23:09] local.INFO: Acknowledgment sent {"connection_id":141795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:23:40] local.INFO: TCP Data received {"connection_id":141795,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:23:40] local.INFO: Processing buffer {"connection_id":141795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:23:40] local.INFO: Packet analysis {"connection_id":141795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:23:40] local.INFO: Extracted packet for processing {"connection_id":141795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:23:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:23:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":141795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:23:40] local.INFO: GPS data processed {"connection_id":141795,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:23:40] local.INFO: Acknowledgment sent {"connection_id":141795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:24:03] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:24:03] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:24:03] local.INFO: IMEI packet received {"connection_id":139444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":139444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:24:08] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:24:08] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:24:08] local.INFO: IMEI packet received {"connection_id":139444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":139444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:24:09] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:24:09] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:24:09] local.INFO: Packet analysis {"connection_id":139444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:24:09] local.INFO: Extracted packet for processing {"connection_id":139444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:24:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:24:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":139444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:24:09] local.INFO: GPS data processed {"connection_id":139444,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:24:09] local.INFO: Acknowledgment sent {"connection_id":139444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:24:40] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:24:40] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b5ff6f0012cb29bc007823b40004b003825..."} 
[2026-07-23 01:24:40] local.INFO: Packet analysis {"connection_id":139444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:24:40] local.INFO: Extracted packet for processing {"connection_id":139444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b5f"} 
[2026-07-23 01:24:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895858944001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784749750000,"timestamp_ms":1784749750000,"timestamp_seconds":1784749750,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b5ff6f0"} 
[2026-07-23 01:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895858944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895858944001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:24:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895858944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":139444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:24:40] local.INFO: GPS data processed {"connection_id":139444,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:24:40] local.INFO: Acknowledgment sent {"connection_id":139444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:25:03] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:25:03] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:25:03] local.INFO: IMEI packet received {"connection_id":139445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":139445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:25:08] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:25:08] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:25:08] local.INFO: IMEI packet received {"connection_id":139445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":139445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:25:09] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:25:09] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:25:09] local.INFO: Packet analysis {"connection_id":139445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:25:09] local.INFO: Extracted packet for processing {"connection_id":139445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:25:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:25:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":139445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:25:09] local.INFO: GPS data processed {"connection_id":139445,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:25:09] local.INFO: Acknowledgment sent {"connection_id":139445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:25:40] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:25:40] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:25:40] local.INFO: Packet analysis {"connection_id":139445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:25:40] local.INFO: Extracted packet for processing {"connection_id":139445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":139445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:25:40] local.INFO: GPS data processed {"connection_id":139445,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:25:40] local.INFO: Acknowledgment sent {"connection_id":139445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:26:03] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:26:03] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:26:03] local.INFO: IMEI packet received {"connection_id":139446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":139446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:26:08] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:26:08] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:26:08] local.INFO: IMEI packet received {"connection_id":139446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":139446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:26:09] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:26:09] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:26:09] local.INFO: Packet analysis {"connection_id":139446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:26:09] local.INFO: Extracted packet for processing {"connection_id":139446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:26:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:26:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":139446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:26:09] local.INFO: GPS data processed {"connection_id":139446,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:26:09] local.INFO: Acknowledgment sent {"connection_id":139446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:26:40] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:26:40] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:26:40] local.INFO: Packet analysis {"connection_id":139446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:26:40] local.INFO: Extracted packet for processing {"connection_id":139446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:26:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:26:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":139446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:26:40] local.INFO: GPS data processed {"connection_id":139446,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:26:40] local.INFO: Acknowledgment sent {"connection_id":139446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:27:03] local.INFO: TCP Data received {"connection_id":141796,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:27:03] local.INFO: Processing buffer {"connection_id":141796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:27:03] local.INFO: IMEI packet received {"connection_id":141796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":141796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:27:08] local.INFO: TCP Data received {"connection_id":141796,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:27:08] local.INFO: Processing buffer {"connection_id":141796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:27:08] local.INFO: IMEI packet received {"connection_id":141796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":141796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:27:09] local.INFO: TCP Data received {"connection_id":141796,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:27:09] local.INFO: Processing buffer {"connection_id":141796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:27:09] local.INFO: Packet analysis {"connection_id":141796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:27:09] local.INFO: Extracted packet for processing {"connection_id":141796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:27:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:27:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":141796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:27:09] local.INFO: GPS data processed {"connection_id":141796,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:27:09] local.INFO: Acknowledgment sent {"connection_id":141796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:27:40] local.INFO: TCP Data received {"connection_id":141796,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:27:40] local.INFO: Processing buffer {"connection_id":141796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:27:40] local.INFO: Packet analysis {"connection_id":141796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:27:40] local.INFO: Extracted packet for processing {"connection_id":141796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:27:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:27:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":141796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:27:40] local.INFO: GPS data processed {"connection_id":141796,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:27:40] local.INFO: Acknowledgment sent {"connection_id":141796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:28:03] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:28:03] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:28:03] local.INFO: IMEI packet received {"connection_id":139392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":139392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:28:09] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:28:09] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:28:09] local.INFO: IMEI packet received {"connection_id":139392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":139392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:28:10] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:28:10] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:28:10] local.INFO: Packet analysis {"connection_id":139392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:28:10] local.INFO: Extracted packet for processing {"connection_id":139392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":139392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:28:10] local.INFO: GPS data processed {"connection_id":139392,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:28:10] local.INFO: Acknowledgment sent {"connection_id":139392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:28:41] local.INFO: TCP Data received {"connection_id":139392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:28:41] local.INFO: Processing buffer {"connection_id":139392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:28:41] local.INFO: Packet analysis {"connection_id":139392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:28:41] local.INFO: Extracted packet for processing {"connection_id":139392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:28:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":139392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:28:41] local.INFO: GPS data processed {"connection_id":139392,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:28:41] local.INFO: Acknowledgment sent {"connection_id":139392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:29:03] local.INFO: TCP Data received {"connection_id":140446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:29:03] local.INFO: Processing buffer {"connection_id":140446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:29:03] local.INFO: IMEI packet received {"connection_id":140446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":140446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:29:08] local.INFO: TCP Data received {"connection_id":140446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:29:08] local.INFO: Processing buffer {"connection_id":140446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:29:08] local.INFO: IMEI packet received {"connection_id":140446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":140446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:29:09] local.INFO: TCP Data received {"connection_id":140446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:29:09] local.INFO: Processing buffer {"connection_id":140446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:29:09] local.INFO: Packet analysis {"connection_id":140446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:29:09] local.INFO: Extracted packet for processing {"connection_id":140446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:29:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:29:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":140446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:29:09] local.INFO: GPS data processed {"connection_id":140446,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:29:09] local.INFO: Acknowledgment sent {"connection_id":140446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:29:41] local.INFO: TCP Data received {"connection_id":140446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:29:41] local.INFO: Processing buffer {"connection_id":140446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b648eb8012cb29bc007823b400047003827..."} 
[2026-07-23 01:29:41] local.INFO: Packet analysis {"connection_id":140446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:29:41] local.INFO: Extracted packet for processing {"connection_id":140446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b64"} 
[2026-07-23 01:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456895936000001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750051000,"timestamp_ms":1784750051000,"timestamp_seconds":1784750051,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b648eb8"} 
[2026-07-23 01:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456895936000001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456895936000001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:29:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456895936000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":140446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:29:41] local.INFO: GPS data processed {"connection_id":140446,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:29:41] local.INFO: Acknowledgment sent {"connection_id":140446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:30:03] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:30:03] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:30:03] local.INFO: IMEI packet received {"connection_id":139447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":139447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:30:08] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:30:08] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:30:08] local.INFO: IMEI packet received {"connection_id":139447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":139447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:30:09] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:30:09] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:30:09] local.INFO: Packet analysis {"connection_id":139447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:30:09] local.INFO: Extracted packet for processing {"connection_id":139447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:30:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:30:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":139447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:30:09] local.INFO: GPS data processed {"connection_id":139447,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:30:09] local.INFO: Acknowledgment sent {"connection_id":139447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:30:40] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:30:40] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:30:40] local.INFO: Packet analysis {"connection_id":139447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:30:40] local.INFO: Extracted packet for processing {"connection_id":139447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:30:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:30:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":139447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:30:40] local.INFO: GPS data processed {"connection_id":139447,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:30:40] local.INFO: Acknowledgment sent {"connection_id":139447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:31:03] local.INFO: TCP Data received {"connection_id":140447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:31:03] local.INFO: Processing buffer {"connection_id":140447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:31:03] local.INFO: IMEI packet received {"connection_id":140447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":140447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:31:09] local.INFO: TCP Data received {"connection_id":140447,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:31:09] local.INFO: Processing buffer {"connection_id":140447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:31:09] local.INFO: IMEI packet received {"connection_id":140447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":140447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:31:10] local.INFO: TCP Data received {"connection_id":140447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:31:10] local.INFO: Processing buffer {"connection_id":140447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:31:10] local.INFO: Packet analysis {"connection_id":140447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:31:10] local.INFO: Extracted packet for processing {"connection_id":140447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":140447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":140447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":140447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:31:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":140447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:31:10] local.INFO: GPS data processed {"connection_id":140447,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:31:10] local.INFO: Acknowledgment sent {"connection_id":140447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:31:41] local.INFO: TCP Data received {"connection_id":140447,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:31:41] local.INFO: Processing buffer {"connection_id":140447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:31:41] local.INFO: Packet analysis {"connection_id":140447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:31:41] local.INFO: Extracted packet for processing {"connection_id":140447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:31:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":140447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:31:41] local.INFO: GPS data processed {"connection_id":140447,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:31:41] local.INFO: Acknowledgment sent {"connection_id":140447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:32:03] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:32:03] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:32:03] local.INFO: IMEI packet received {"connection_id":139393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":139393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:32:08] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:32:08] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:32:08] local.INFO: IMEI packet received {"connection_id":139393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":139393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:32:09] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:32:09] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:32:09] local.INFO: Packet analysis {"connection_id":139393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:32:09] local.INFO: Extracted packet for processing {"connection_id":139393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:32:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:32:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":139393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:32:09] local.INFO: GPS data processed {"connection_id":139393,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:32:09] local.INFO: Acknowledgment sent {"connection_id":139393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:32:40] local.INFO: TCP Data received {"connection_id":139393,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:32:40] local.INFO: Processing buffer {"connection_id":139393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:32:40] local.INFO: Packet analysis {"connection_id":139393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:32:40] local.INFO: Extracted packet for processing {"connection_id":139393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:32:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":139393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:32:40] local.INFO: GPS data processed {"connection_id":139393,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:32:40] local.INFO: Acknowledgment sent {"connection_id":139393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:33:03] local.INFO: TCP Data received {"connection_id":141797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:33:03] local.INFO: Processing buffer {"connection_id":141797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:33:03] local.INFO: IMEI packet received {"connection_id":141797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":141797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:33:08] local.INFO: TCP Data received {"connection_id":141797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:33:08] local.INFO: Processing buffer {"connection_id":141797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:33:08] local.INFO: IMEI packet received {"connection_id":141797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":141797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:33:09] local.INFO: TCP Data received {"connection_id":141797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:33:09] local.INFO: Processing buffer {"connection_id":141797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:33:09] local.INFO: Packet analysis {"connection_id":141797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:33:09] local.INFO: Extracted packet for processing {"connection_id":141797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:33:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:33:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":141797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:33:09] local.INFO: GPS data processed {"connection_id":141797,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:33:09] local.INFO: Acknowledgment sent {"connection_id":141797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:33:40] local.INFO: TCP Data received {"connection_id":141797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:33:40] local.INFO: Processing buffer {"connection_id":141797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:33:40] local.INFO: Packet analysis {"connection_id":141797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:33:40] local.INFO: Extracted packet for processing {"connection_id":141797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:33:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:33:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":141797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:33:40] local.INFO: GPS data processed {"connection_id":141797,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:33:40] local.INFO: Acknowledgment sent {"connection_id":141797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:34:03] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:34:03] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:34:03] local.INFO: IMEI packet received {"connection_id":139448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":139448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:34:09] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:34:09] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:34:09] local.INFO: IMEI packet received {"connection_id":139448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":139448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:34:10] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:34:10] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:34:10] local.INFO: Packet analysis {"connection_id":139448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:34:10] local.INFO: Extracted packet for processing {"connection_id":139448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:34:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":139448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:34:10] local.INFO: GPS data processed {"connection_id":139448,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:34:10] local.INFO: Acknowledgment sent {"connection_id":139448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:34:41] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:34:41] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b692680012cb29bc007823b400049003825..."} 
[2026-07-23 01:34:41] local.INFO: Packet analysis {"connection_id":139448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:34:41] local.INFO: Extracted packet for processing {"connection_id":139448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b69"} 
[2026-07-23 01:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896013056001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750352000,"timestamp_ms":1784750352000,"timestamp_seconds":1784750352,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b692680"} 
[2026-07-23 01:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896013056001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896013056001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:34:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896013056001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":139448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:34:41] local.INFO: GPS data processed {"connection_id":139448,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:34:41] local.INFO: Acknowledgment sent {"connection_id":139448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:35:03] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:35:03] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:35:03] local.INFO: IMEI packet received {"connection_id":139394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":139394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:35:08] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:35:08] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:35:08] local.INFO: IMEI packet received {"connection_id":139394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":139394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:35:09] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:35:09] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:35:09] local.INFO: Packet analysis {"connection_id":139394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:35:09] local.INFO: Extracted packet for processing {"connection_id":139394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:35:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":139394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:35:09] local.INFO: GPS data processed {"connection_id":139394,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:35:09] local.INFO: Acknowledgment sent {"connection_id":139394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:35:40] local.INFO: TCP Data received {"connection_id":139394,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:35:40] local.INFO: Processing buffer {"connection_id":139394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:35:40] local.INFO: Packet analysis {"connection_id":139394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:35:40] local.INFO: Extracted packet for processing {"connection_id":139394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:35:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:35:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":139394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:35:40] local.INFO: GPS data processed {"connection_id":139394,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:35:40] local.INFO: Acknowledgment sent {"connection_id":139394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:36:03] local.INFO: TCP Data received {"connection_id":140448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:36:03] local.INFO: Processing buffer {"connection_id":140448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:36:03] local.INFO: IMEI packet received {"connection_id":140448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":140448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:36:08] local.INFO: TCP Data received {"connection_id":140448,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:36:08] local.INFO: Processing buffer {"connection_id":140448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:36:08] local.INFO: IMEI packet received {"connection_id":140448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":140448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:36:09] local.INFO: TCP Data received {"connection_id":140448,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:36:09] local.INFO: Processing buffer {"connection_id":140448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:36:09] local.INFO: Packet analysis {"connection_id":140448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:36:09] local.INFO: Extracted packet for processing {"connection_id":140448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:36:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:36:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":140448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:36:09] local.INFO: GPS data processed {"connection_id":140448,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:36:09] local.INFO: Acknowledgment sent {"connection_id":140448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:36:40] local.INFO: TCP Data received {"connection_id":140448,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:36:40] local.INFO: Processing buffer {"connection_id":140448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:36:40] local.INFO: Packet analysis {"connection_id":140448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:36:40] local.INFO: Extracted packet for processing {"connection_id":140448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:36:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":140448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:36:40] local.INFO: GPS data processed {"connection_id":140448,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:36:40] local.INFO: Acknowledgment sent {"connection_id":140448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:37:03] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:37:03] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:37:03] local.INFO: IMEI packet received {"connection_id":139395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":139395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:37:09] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:37:09] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:37:09] local.INFO: IMEI packet received {"connection_id":139395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":139395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:37:10] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:37:10] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:37:10] local.INFO: Packet analysis {"connection_id":139395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:37:10] local.INFO: Extracted packet for processing {"connection_id":139395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":139395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:37:10] local.INFO: GPS data processed {"connection_id":139395,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:37:10] local.INFO: Acknowledgment sent {"connection_id":139395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:37:41] local.INFO: TCP Data received {"connection_id":139395,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:37:41] local.INFO: Processing buffer {"connection_id":139395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:37:41] local.INFO: Packet analysis {"connection_id":139395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:37:41] local.INFO: Extracted packet for processing {"connection_id":139395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:37:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":139395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:37:41] local.INFO: GPS data processed {"connection_id":139395,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:37:41] local.INFO: Acknowledgment sent {"connection_id":139395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:38:03] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:38:03] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:38:03] local.INFO: IMEI packet received {"connection_id":139449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":139449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:38:08] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:38:08] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:38:08] local.INFO: IMEI packet received {"connection_id":139449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":139449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:38:09] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:38:09] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:38:09] local.INFO: Packet analysis {"connection_id":139449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:38:09] local.INFO: Extracted packet for processing {"connection_id":139449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:38:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:38:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:38:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:38:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:38:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":139449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:38:09] local.INFO: GPS data processed {"connection_id":139449,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:38:09] local.INFO: Acknowledgment sent {"connection_id":139449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:38:40] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:38:40] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:38:40] local.INFO: Packet analysis {"connection_id":139449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:38:40] local.INFO: Extracted packet for processing {"connection_id":139449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:38:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:38:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:38:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:38:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":139449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:38:40] local.INFO: GPS data processed {"connection_id":139449,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:38:40] local.INFO: Acknowledgment sent {"connection_id":139449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:39:03] local.INFO: TCP Data received {"connection_id":141798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:39:03] local.INFO: Processing buffer {"connection_id":141798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:39:03] local.INFO: IMEI packet received {"connection_id":141798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":141798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:39:08] local.INFO: TCP Data received {"connection_id":141798,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:39:08] local.INFO: Processing buffer {"connection_id":141798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:39:08] local.INFO: IMEI packet received {"connection_id":141798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":141798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:39:09] local.INFO: TCP Data received {"connection_id":141798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:39:09] local.INFO: Processing buffer {"connection_id":141798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:39:09] local.INFO: Packet analysis {"connection_id":141798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:39:09] local.INFO: Extracted packet for processing {"connection_id":141798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:39:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:39:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":141798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:39:09] local.INFO: GPS data processed {"connection_id":141798,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:39:09] local.INFO: Acknowledgment sent {"connection_id":141798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:39:41] local.INFO: TCP Data received {"connection_id":141798,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:39:41] local.INFO: Processing buffer {"connection_id":141798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b6dbe48012cb29bc007823b400049003826..."} 
[2026-07-23 01:39:41] local.INFO: Packet analysis {"connection_id":141798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:39:41] local.INFO: Extracted packet for processing {"connection_id":141798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b6d"} 
[2026-07-23 01:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896090112001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750653000,"timestamp_ms":1784750653000,"timestamp_seconds":1784750653,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b6dbe48"} 
[2026-07-23 01:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 01:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896090112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896090112001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:39:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896090112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":141798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:39:41] local.INFO: GPS data processed {"connection_id":141798,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:39:41] local.INFO: Acknowledgment sent {"connection_id":141798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:40:08] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:40:08] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:40:08] local.INFO: IMEI packet received {"connection_id":139450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":139450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:40:13] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:40:13] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:40:13] local.INFO: IMEI packet received {"connection_id":139450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":139450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:40:14] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:40:14] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:40:14] local.INFO: Packet analysis {"connection_id":139450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:40:14] local.INFO: Extracted packet for processing {"connection_id":139450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:40:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:40: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-07-23 01:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:40:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":139450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:40:14] local.INFO: GPS data processed {"connection_id":139450,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:40:14] local.INFO: Acknowledgment sent {"connection_id":139450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:40:18] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:40:18] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:40:18] local.INFO: Packet analysis {"connection_id":139450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:40:18] local.INFO: Extracted packet for processing {"connection_id":139450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:40:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:40:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:40:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:40:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":139450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:40:18] local.INFO: GPS data processed {"connection_id":139450,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:40:18] local.INFO: Acknowledgment sent {"connection_id":139450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:41:05] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:05] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:05] local.INFO: IMEI packet received {"connection_id":139396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":139396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:41:08] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:08] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:08] local.INFO: IMEI packet received {"connection_id":139396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":139396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:41:13] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:13] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:41:13] local.INFO: IMEI packet received {"connection_id":139396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":139396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:41:21] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:41:21] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:41:21] local.INFO: Packet analysis {"connection_id":139396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:41:21] local.INFO: Extracted packet for processing {"connection_id":139396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 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-07-23 01:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 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-07-23 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:41: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-07-23 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-07-23 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-07-23 01:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":139396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":139396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:41:21] local.INFO: GPS data processed {"connection_id":139396,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:41:21] local.INFO: Acknowledgment sent {"connection_id":139396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:41:22] local.INFO: TCP Data received {"connection_id":139396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:41:22] local.INFO: Processing buffer {"connection_id":139396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:41:22] local.INFO: Packet analysis {"connection_id":139396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:41:22] local.INFO: Extracted packet for processing {"connection_id":139396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:41:22] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:41: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-07-23 01:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":139396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":139396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:41:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":139396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:41:22] local.INFO: GPS data processed {"connection_id":139396,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:41:22] local.INFO: Acknowledgment sent {"connection_id":139396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:42:03] local.INFO: TCP Data received {"connection_id":140449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:42:03] local.INFO: Processing buffer {"connection_id":140449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:42:03] local.INFO: IMEI packet received {"connection_id":140449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":140449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:42:08] local.INFO: TCP Data received {"connection_id":140449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:42:08] local.INFO: Processing buffer {"connection_id":140449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:42:08] local.INFO: IMEI packet received {"connection_id":140449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":140449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:42:09] local.INFO: TCP Data received {"connection_id":140449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:42:09] local.INFO: Processing buffer {"connection_id":140449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:42:09] local.INFO: Packet analysis {"connection_id":140449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:42:09] local.INFO: Extracted packet for processing {"connection_id":140449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:42:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:42:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":140449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:42:09] local.INFO: GPS data processed {"connection_id":140449,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:42:09] local.INFO: Acknowledgment sent {"connection_id":140449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:42:41] local.INFO: TCP Data received {"connection_id":140449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:42:41] local.INFO: Processing buffer {"connection_id":140449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:42:41] local.INFO: Packet analysis {"connection_id":140449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:42:41] local.INFO: Extracted packet for processing {"connection_id":140449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:42:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":140449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:42:41] local.INFO: GPS data processed {"connection_id":140449,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:42:41] local.INFO: Acknowledgment sent {"connection_id":140449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:43:03] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:43:03] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:43:03] local.INFO: IMEI packet received {"connection_id":139397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":139397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:43:08] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:43:08] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:43:08] local.INFO: IMEI packet received {"connection_id":139397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":139397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:43:08] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:43:08] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:43:08] local.INFO: Packet analysis {"connection_id":139397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:43:08] local.INFO: Extracted packet for processing {"connection_id":139397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:43:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:43:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:43:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":139397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:43:09] local.INFO: GPS data processed {"connection_id":139397,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:43:09] local.INFO: Acknowledgment sent {"connection_id":139397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:43:40] local.INFO: TCP Data received {"connection_id":139397,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:43:40] local.INFO: Processing buffer {"connection_id":139397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:43:40] local.INFO: Packet analysis {"connection_id":139397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:43:40] local.INFO: Extracted packet for processing {"connection_id":139397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:43:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:43:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":139397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:43:40] local.INFO: GPS data processed {"connection_id":139397,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:43:40] local.INFO: Acknowledgment sent {"connection_id":139397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:44:03] local.INFO: TCP Data received {"connection_id":139398,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:44:03] local.INFO: Processing buffer {"connection_id":139398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:44:03] local.INFO: IMEI packet received {"connection_id":139398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":139398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:44:08] local.INFO: TCP Data received {"connection_id":139398,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:44:08] local.INFO: Processing buffer {"connection_id":139398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:44:08] local.INFO: IMEI packet received {"connection_id":139398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":139398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:44:09] local.INFO: TCP Data received {"connection_id":139398,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:44:09] local.INFO: Processing buffer {"connection_id":139398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:44:09] local.INFO: Packet analysis {"connection_id":139398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:44:09] local.INFO: Extracted packet for processing {"connection_id":139398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:44:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:44:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:44:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:44:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":139398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:44:09] local.INFO: GPS data processed {"connection_id":139398,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:44:09] local.INFO: Acknowledgment sent {"connection_id":139398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:44:40] local.INFO: TCP Data received {"connection_id":139398,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:44:40] local.INFO: Processing buffer {"connection_id":139398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b725610012cb29bc007823b40004a003824..."} 
[2026-07-23 01:44:40] local.INFO: Packet analysis {"connection_id":139398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:44:40] local.INFO: Extracted packet for processing {"connection_id":139398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b72"} 
[2026-07-23 01:44:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896167168001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784750954000,"timestamp_ms":1784750954000,"timestamp_seconds":1784750954,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b725610"} 
[2026-07-23 01:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896167168001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896167168001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:44:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896167168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":139398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:44:40] local.INFO: GPS data processed {"connection_id":139398,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:44:40] local.INFO: Acknowledgment sent {"connection_id":139398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:45:08] local.INFO: TCP Data received {"connection_id":140450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:45:08] local.INFO: Processing buffer {"connection_id":140450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:45:08] local.INFO: IMEI packet received {"connection_id":140450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":140450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:45:13] local.INFO: TCP Data received {"connection_id":140450,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:45:13] local.INFO: Processing buffer {"connection_id":140450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:45:13] local.INFO: IMEI packet received {"connection_id":140450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":140450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:45:14] local.INFO: TCP Data received {"connection_id":140450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:45:14] local.INFO: Processing buffer {"connection_id":140450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:45:14] local.INFO: Packet analysis {"connection_id":140450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:45:14] local.INFO: Extracted packet for processing {"connection_id":140450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:45:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:45: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-07-23 01:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:45:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":140450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:45:14] local.INFO: GPS data processed {"connection_id":140450,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:45:14] local.INFO: Acknowledgment sent {"connection_id":140450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:45:18] local.INFO: TCP Data received {"connection_id":140450,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:45:18] local.INFO: Processing buffer {"connection_id":140450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:45:18] local.INFO: Packet analysis {"connection_id":140450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:45:18] local.INFO: Extracted packet for processing {"connection_id":140450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:45:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:45:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:45:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:45:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":140450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:45:18] local.INFO: GPS data processed {"connection_id":140450,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:45:18] local.INFO: Acknowledgment sent {"connection_id":140450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:47:03] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:47:03] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:47:03] local.INFO: IMEI packet received {"connection_id":139399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":139399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:47:08] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:47:08] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:47:08] local.INFO: IMEI packet received {"connection_id":139399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":139399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:47:09] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:47:09] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:47:09] local.INFO: Packet analysis {"connection_id":139399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:47:09] local.INFO: Extracted packet for processing {"connection_id":139399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:47:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":139399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:47:09] local.INFO: GPS data processed {"connection_id":139399,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:47:09] local.INFO: Acknowledgment sent {"connection_id":139399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:47:40] local.INFO: TCP Data received {"connection_id":139399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:47:40] local.INFO: Processing buffer {"connection_id":139399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:47:40] local.INFO: Packet analysis {"connection_id":139399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:47:40] local.INFO: Extracted packet for processing {"connection_id":139399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:47:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:47:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":139399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:47:40] local.INFO: GPS data processed {"connection_id":139399,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:47:40] local.INFO: Acknowledgment sent {"connection_id":139399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:48:04] local.INFO: TCP Data received {"connection_id":141799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:48:04] local.INFO: Processing buffer {"connection_id":141799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:48:04] local.INFO: IMEI packet received {"connection_id":141799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":141799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:48:08] local.INFO: TCP Data received {"connection_id":141799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:48:08] local.INFO: Processing buffer {"connection_id":141799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:48:08] local.INFO: IMEI packet received {"connection_id":141799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":141799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:48:09] local.INFO: TCP Data received {"connection_id":141799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:48:09] local.INFO: Processing buffer {"connection_id":141799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:48:09] local.INFO: Packet analysis {"connection_id":141799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:48:09] local.INFO: Extracted packet for processing {"connection_id":141799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:48:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:48:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":141799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:48:09] local.INFO: GPS data processed {"connection_id":141799,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:48:09] local.INFO: Acknowledgment sent {"connection_id":141799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:48:40] local.INFO: TCP Data received {"connection_id":141799,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:48:40] local.INFO: Processing buffer {"connection_id":141799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:48:40] local.INFO: Packet analysis {"connection_id":141799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:48:40] local.INFO: Extracted packet for processing {"connection_id":141799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:48:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":141799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:48:40] local.INFO: GPS data processed {"connection_id":141799,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:48:40] local.INFO: Acknowledgment sent {"connection_id":141799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:49:03] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:49:03] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:49:03] local.INFO: IMEI packet received {"connection_id":139400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":139400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:49:08] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:49:08] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:49:08] local.INFO: IMEI packet received {"connection_id":139400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":139400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:49:09] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:49:09] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:49:09] local.INFO: Packet analysis {"connection_id":139400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:49:09] local.INFO: Extracted packet for processing {"connection_id":139400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:49:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:49:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":139400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:49:09] local.INFO: GPS data processed {"connection_id":139400,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:49:09] local.INFO: Acknowledgment sent {"connection_id":139400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:49:40] local.INFO: TCP Data received {"connection_id":139400,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:49:40] local.INFO: Processing buffer {"connection_id":139400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:49:40] local.INFO: Packet analysis {"connection_id":139400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:49:40] local.INFO: Extracted packet for processing {"connection_id":139400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:49:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:49:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":139400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:49:40] local.INFO: GPS data processed {"connection_id":139400,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:49:40] local.INFO: Acknowledgment sent {"connection_id":139400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:50:03] local.INFO: TCP Data received {"connection_id":141800,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:50:03] local.INFO: Processing buffer {"connection_id":141800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:50:03] local.INFO: IMEI packet received {"connection_id":141800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":141800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:50:08] local.INFO: TCP Data received {"connection_id":141800,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:50:08] local.INFO: Processing buffer {"connection_id":141800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:50:08] local.INFO: IMEI packet received {"connection_id":141800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":141800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:50:09] local.INFO: TCP Data received {"connection_id":141800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:50:09] local.INFO: Processing buffer {"connection_id":141800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:50:09] local.INFO: Packet analysis {"connection_id":141800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:50:09] local.INFO: Extracted packet for processing {"connection_id":141800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:50:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:50:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":141800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:50:09] local.INFO: GPS data processed {"connection_id":141800,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:50:09] local.INFO: Acknowledgment sent {"connection_id":141800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:50:40] local.INFO: TCP Data received {"connection_id":141800,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:50:40] local.INFO: Processing buffer {"connection_id":141800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:50:40] local.INFO: Packet analysis {"connection_id":141800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:50:40] local.INFO: Extracted packet for processing {"connection_id":141800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:50:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:50:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":141800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:50:40] local.INFO: GPS data processed {"connection_id":141800,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:50:40] local.INFO: Acknowledgment sent {"connection_id":141800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:51:03] local.INFO: TCP Data received {"connection_id":141801,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:51:03] local.INFO: Processing buffer {"connection_id":141801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:51:03] local.INFO: IMEI packet received {"connection_id":141801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":141801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:51:08] local.INFO: TCP Data received {"connection_id":141801,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:51:08] local.INFO: Processing buffer {"connection_id":141801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:51:08] local.INFO: IMEI packet received {"connection_id":141801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":141801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:51:09] local.INFO: TCP Data received {"connection_id":141801,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:51:09] local.INFO: Processing buffer {"connection_id":141801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:51:09] local.INFO: Packet analysis {"connection_id":141801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:51:09] local.INFO: Extracted packet for processing {"connection_id":141801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:51:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:51:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":141801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:51:09] local.INFO: GPS data processed {"connection_id":141801,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:51:09] local.INFO: Acknowledgment sent {"connection_id":141801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:51:40] local.INFO: TCP Data received {"connection_id":141801,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:51:40] local.INFO: Processing buffer {"connection_id":141801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b76edd8012cb29bc007823b40004b003824..."} 
[2026-07-23 01:51:40] local.INFO: Packet analysis {"connection_id":141801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:51:40] local.INFO: Extracted packet for processing {"connection_id":141801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b76"} 
[2026-07-23 01:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896244224001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751255000,"timestamp_ms":1784751255000,"timestamp_seconds":1784751255,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b76edd8"} 
[2026-07-23 01:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896244224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896244224001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896244224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":141801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:51:40] local.INFO: GPS data processed {"connection_id":141801,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:51:40] local.INFO: Acknowledgment sent {"connection_id":141801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:52:08] local.INFO: TCP Data received {"connection_id":141802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:52:08] local.INFO: Processing buffer {"connection_id":141802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:52:08] local.INFO: IMEI packet received {"connection_id":141802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":141802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:52:13] local.INFO: TCP Data received {"connection_id":141802,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:52:13] local.INFO: Processing buffer {"connection_id":141802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:52:13] local.INFO: IMEI packet received {"connection_id":141802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":141802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:52:14] local.INFO: TCP Data received {"connection_id":141802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:52:14] local.INFO: Processing buffer {"connection_id":141802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:52:14] local.INFO: Packet analysis {"connection_id":141802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:52:14] local.INFO: Extracted packet for processing {"connection_id":141802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:52:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:52: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-07-23 01:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:52:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":141802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:52:14] local.INFO: GPS data processed {"connection_id":141802,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:52:14] local.INFO: Acknowledgment sent {"connection_id":141802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:52:45] local.INFO: TCP Data received {"connection_id":141802,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:52:45] local.INFO: Processing buffer {"connection_id":141802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:52:45] local.INFO: Packet analysis {"connection_id":141802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:52:45] local.INFO: Extracted packet for processing {"connection_id":141802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:52:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:52: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-07-23 01:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:52:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:52:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":141802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:52:45] local.INFO: GPS data processed {"connection_id":141802,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:52:45] local.INFO: Acknowledgment sent {"connection_id":141802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:53:03] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:53:03] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:53:03] local.INFO: IMEI packet received {"connection_id":139451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":139451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:53:08] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:53:08] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:53:08] local.INFO: IMEI packet received {"connection_id":139451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":139451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:53:09] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:53:09] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:53:09] local.INFO: Packet analysis {"connection_id":139451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:53:09] local.INFO: Extracted packet for processing {"connection_id":139451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:53:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:53:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":139451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:53:09] local.INFO: GPS data processed {"connection_id":139451,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:53:09] local.INFO: Acknowledgment sent {"connection_id":139451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:53:40] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:53:40] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:53:40] local.INFO: Packet analysis {"connection_id":139451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:53:40] local.INFO: Extracted packet for processing {"connection_id":139451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:53:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:53:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":139451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:53:40] local.INFO: GPS data processed {"connection_id":139451,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:53:40] local.INFO: Acknowledgment sent {"connection_id":139451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:54:03] local.INFO: TCP Data received {"connection_id":140451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:54:03] local.INFO: Processing buffer {"connection_id":140451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:54:03] local.INFO: IMEI packet received {"connection_id":140451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":140451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:54:09] local.INFO: TCP Data received {"connection_id":140451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:54:09] local.INFO: Processing buffer {"connection_id":140451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:54:09] local.INFO: IMEI packet received {"connection_id":140451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":140451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:54:10] local.INFO: TCP Data received {"connection_id":140451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:54:10] local.INFO: Processing buffer {"connection_id":140451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:54:10] local.INFO: Packet analysis {"connection_id":140451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:54:10] local.INFO: Extracted packet for processing {"connection_id":140451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":140451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":140451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":140451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":140451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:54:10] local.INFO: GPS data processed {"connection_id":140451,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:54:10] local.INFO: Acknowledgment sent {"connection_id":140451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:54:41] local.INFO: TCP Data received {"connection_id":140451,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:54:41] local.INFO: Processing buffer {"connection_id":140451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:54:41] local.INFO: Packet analysis {"connection_id":140451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:54:41] local.INFO: Extracted packet for processing {"connection_id":140451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:54:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":140451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:54:41] local.INFO: GPS data processed {"connection_id":140451,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:54:41] local.INFO: Acknowledgment sent {"connection_id":140451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:55:03] local.INFO: TCP Data received {"connection_id":141803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:55:03] local.INFO: Processing buffer {"connection_id":141803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:55:03] local.INFO: IMEI packet received {"connection_id":141803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":141803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:55:09] local.INFO: TCP Data received {"connection_id":141803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:55:09] local.INFO: Processing buffer {"connection_id":141803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:55:09] local.INFO: IMEI packet received {"connection_id":141803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":141803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:55:10] local.INFO: TCP Data received {"connection_id":141803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:55:10] local.INFO: Processing buffer {"connection_id":141803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:55:10] local.INFO: Packet analysis {"connection_id":141803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:55:10] local.INFO: Extracted packet for processing {"connection_id":141803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":141803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:55:10] local.INFO: GPS data processed {"connection_id":141803,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:55:10] local.INFO: Acknowledgment sent {"connection_id":141803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:55:41] local.INFO: TCP Data received {"connection_id":141803,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:55:41] local.INFO: Processing buffer {"connection_id":141803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:55:41] local.INFO: Packet analysis {"connection_id":141803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:55:41] local.INFO: Extracted packet for processing {"connection_id":141803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:55:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":141803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:55:41] local.INFO: GPS data processed {"connection_id":141803,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:55:41] local.INFO: Acknowledgment sent {"connection_id":141803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:56:08] local.INFO: TCP Data received {"connection_id":140452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:56:08] local.INFO: Processing buffer {"connection_id":140452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:56:08] local.INFO: IMEI packet received {"connection_id":140452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":140452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:56:13] local.INFO: TCP Data received {"connection_id":140452,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:56:13] local.INFO: Processing buffer {"connection_id":140452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:56:13] local.INFO: IMEI packet received {"connection_id":140452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":140452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:56:14] local.INFO: TCP Data received {"connection_id":140452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:56:14] local.INFO: Processing buffer {"connection_id":140452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:56:14] local.INFO: Packet analysis {"connection_id":140452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:56:14] local.INFO: Extracted packet for processing {"connection_id":140452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:56:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:56:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:56: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-07-23 01:56: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-07-23 01:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:56:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:56:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":140452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:56:14] local.INFO: GPS data processed {"connection_id":140452,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:56:14] local.INFO: Acknowledgment sent {"connection_id":140452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:56:18] local.INFO: TCP Data received {"connection_id":140452,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:56:18] local.INFO: Processing buffer {"connection_id":140452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b7d46d8012cb29bc007823b400043003824..."} 
[2026-07-23 01:56:18] local.INFO: Packet analysis {"connection_id":140452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:56:18] local.INFO: Extracted packet for processing {"connection_id":140452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b7d"} 
[2026-07-23 01:56:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":67,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896321280001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:56:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784751671000,"timestamp_ms":1784751671000,"timestamp_seconds":1784751671,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b7d46d8"} 
[2026-07-23 01:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896321280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896321280001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:56:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:56:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896321280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":140452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:56:18] local.INFO: GPS data processed {"connection_id":140452,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:56:18] local.INFO: Acknowledgment sent {"connection_id":140452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:57:03] local.INFO: TCP Data received {"connection_id":139401,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:57:03] local.INFO: Processing buffer {"connection_id":139401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:57:03] local.INFO: IMEI packet received {"connection_id":139401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":139401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:57:08] local.INFO: TCP Data received {"connection_id":139401,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:57:08] local.INFO: Processing buffer {"connection_id":139401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:57:08] local.INFO: IMEI packet received {"connection_id":139401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":139401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:57:09] local.INFO: TCP Data received {"connection_id":139401,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:57:09] local.INFO: Processing buffer {"connection_id":139401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:57:09] local.INFO: Packet analysis {"connection_id":139401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:57:09] local.INFO: Extracted packet for processing {"connection_id":139401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 01:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:57:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":139401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:57:09] local.INFO: GPS data processed {"connection_id":139401,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:57:09] local.INFO: Acknowledgment sent {"connection_id":139401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:57:40] local.INFO: TCP Data received {"connection_id":139401,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:57:40] local.INFO: Processing buffer {"connection_id":139401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:57:40] local.INFO: Packet analysis {"connection_id":139401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:57:40] local.INFO: Extracted packet for processing {"connection_id":139401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 01:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:57:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":139401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:57:40] local.INFO: GPS data processed {"connection_id":139401,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:57:40] local.INFO: Acknowledgment sent {"connection_id":139401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:58:03] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:58:03] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:58:03] local.INFO: IMEI packet received {"connection_id":139452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":139452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:58:10] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:58:10] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:58:10] local.INFO: IMEI packet received {"connection_id":139452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":139452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:58:11] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:58:11] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:58:11] local.INFO: Packet analysis {"connection_id":139452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:58:11] local.INFO: Extracted packet for processing {"connection_id":139452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 01:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:58: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-07-23 01:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":139452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:58:11] local.INFO: GPS data processed {"connection_id":139452,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:58:11] local.INFO: Acknowledgment sent {"connection_id":139452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:58:42] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:58:42] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:58:42] local.INFO: Packet analysis {"connection_id":139452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:58:42] local.INFO: Extracted packet for processing {"connection_id":139452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:58:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":139452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:58:42] local.INFO: GPS data processed {"connection_id":139452,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:58:42] local.INFO: Acknowledgment sent {"connection_id":139452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:59:03] local.INFO: TCP Data received {"connection_id":141804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:59:03] local.INFO: Processing buffer {"connection_id":141804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:59:03] local.INFO: IMEI packet received {"connection_id":141804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 01:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":141804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 01:59:08] local.INFO: TCP Data received {"connection_id":141804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:59:08] local.INFO: Processing buffer {"connection_id":141804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 01:59:08] local.INFO: IMEI packet received {"connection_id":141804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 01:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":141804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 01:59:09] local.INFO: TCP Data received {"connection_id":141804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:59:09] local.INFO: Processing buffer {"connection_id":141804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:59:09] local.INFO: Packet analysis {"connection_id":141804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:59:09] local.INFO: Extracted packet for processing {"connection_id":141804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01: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-07-23 01:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 01:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01: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-07-23 01:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":141804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:59:09] local.INFO: GPS data processed {"connection_id":141804,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:59:09] local.INFO: Acknowledgment sent {"connection_id":141804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 01:59:40] local.INFO: TCP Data received {"connection_id":141804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:59:40] local.INFO: Processing buffer {"connection_id":141804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 01:59:40] local.INFO: Packet analysis {"connection_id":141804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:59:40] local.INFO: Extracted packet for processing {"connection_id":141804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 01:59:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 01:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 01:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 01:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 01:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 01:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 01:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 01:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 01:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 01:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 01:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 01:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 01:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 01:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 01:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 01:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 01:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 01:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 01:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 01:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 01:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 01:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 01:59:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 01:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 01:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 01:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 01:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 01:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":141804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 01:59:40] local.INFO: GPS data processed {"connection_id":141804,"processed":1,"errors":0,"total":1} 
[2026-07-23 01:59:40] local.INFO: Acknowledgment sent {"connection_id":141804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:00:03] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:00:03] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:00:03] local.INFO: IMEI packet received {"connection_id":139453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":139453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:00:08] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:00:08] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:00:08] local.INFO: IMEI packet received {"connection_id":139453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":139453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:00:09] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:00:09] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:00:09] local.INFO: Packet analysis {"connection_id":139453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:00:09] local.INFO: Extracted packet for processing {"connection_id":139453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:00:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 02:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:00:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":139453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:00:09] local.INFO: GPS data processed {"connection_id":139453,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:00:09] local.INFO: Acknowledgment sent {"connection_id":139453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:00:40] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:00:40] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:00:40] local.INFO: Packet analysis {"connection_id":139453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:00:40] local.INFO: Extracted packet for processing {"connection_id":139453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:00:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 02:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:00:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":139453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:00:40] local.INFO: GPS data processed {"connection_id":139453,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:00:40] local.INFO: Acknowledgment sent {"connection_id":139453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:01:08] local.INFO: TCP Data received {"connection_id":140453,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:01:08] local.INFO: Processing buffer {"connection_id":140453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:01:08] local.INFO: IMEI packet received {"connection_id":140453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":140453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:01:13] local.INFO: TCP Data received {"connection_id":140453,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:01:13] local.INFO: Processing buffer {"connection_id":140453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:01:13] local.INFO: IMEI packet received {"connection_id":140453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":140453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:01:14] local.INFO: TCP Data received {"connection_id":140453,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:01:14] local.INFO: Processing buffer {"connection_id":140453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:01:14] local.INFO: Packet analysis {"connection_id":140453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:01:14] local.INFO: Extracted packet for processing {"connection_id":140453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 02:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:01: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-07-23 02:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:01:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":140453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:01:14] local.INFO: GPS data processed {"connection_id":140453,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:01:14] local.INFO: Acknowledgment sent {"connection_id":140453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:01:18] local.INFO: TCP Data received {"connection_id":140453,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:01:18] local.INFO: Processing buffer {"connection_id":140453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b81dea0012cb29bc007823b400047003825..."} 
[2026-07-23 02:01:18] local.INFO: Packet analysis {"connection_id":140453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:01:18] local.INFO: Extracted packet for processing {"connection_id":140453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b81"} 
[2026-07-23 02:01:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896427776001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:01:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784751972000,"timestamp_ms":1784751972000,"timestamp_seconds":1784751972,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b81dea0"} 
[2026-07-23 02:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896427776001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896427776001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:01:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:01:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896427776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":140453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:01:18] local.INFO: GPS data processed {"connection_id":140453,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:01:18] local.INFO: Acknowledgment sent {"connection_id":140453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:02:03] local.INFO: TCP Data received {"connection_id":140454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:02:03] local.INFO: Processing buffer {"connection_id":140454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:02:03] local.INFO: IMEI packet received {"connection_id":140454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":140454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:02:11] local.INFO: TCP Data received {"connection_id":140454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:02:11] local.INFO: Processing buffer {"connection_id":140454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:02:11] local.INFO: IMEI packet received {"connection_id":140454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":140454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:02:12] local.INFO: TCP Data received {"connection_id":140454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:02:12] local.INFO: Processing buffer {"connection_id":140454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:02:12] local.INFO: Packet analysis {"connection_id":140454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:02:12] local.INFO: Extracted packet for processing {"connection_id":140454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":140454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:02:12] local.INFO: GPS data processed {"connection_id":140454,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:02:12] local.INFO: Acknowledgment sent {"connection_id":140454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:02:43] local.INFO: TCP Data received {"connection_id":140454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:02:43] local.INFO: Processing buffer {"connection_id":140454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:02:43] local.INFO: Packet analysis {"connection_id":140454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:02:43] local.INFO: Extracted packet for processing {"connection_id":140454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:02: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-07-23 02: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-07-23 02:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":140454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":140454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":140454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":140454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:02:43] local.INFO: GPS data processed {"connection_id":140454,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:02:43] local.INFO: Acknowledgment sent {"connection_id":140454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:03:03] local.INFO: TCP Data received {"connection_id":140455,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:03:03] local.INFO: Processing buffer {"connection_id":140455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:03:03] local.INFO: IMEI packet received {"connection_id":140455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":140455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:03:08] local.INFO: TCP Data received {"connection_id":140455,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:03:08] local.INFO: Processing buffer {"connection_id":140455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:03:08] local.INFO: IMEI packet received {"connection_id":140455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":140455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:03:09] local.INFO: TCP Data received {"connection_id":140455,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:03:09] local.INFO: Processing buffer {"connection_id":140455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:03:09] local.INFO: Packet analysis {"connection_id":140455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:03:09] local.INFO: Extracted packet for processing {"connection_id":140455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:03:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:03:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":140455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:03:09] local.INFO: GPS data processed {"connection_id":140455,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:03:09] local.INFO: Acknowledgment sent {"connection_id":140455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:03:40] local.INFO: TCP Data received {"connection_id":140455,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:03:40] local.INFO: Processing buffer {"connection_id":140455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:03:40] local.INFO: Packet analysis {"connection_id":140455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:03:40] local.INFO: Extracted packet for processing {"connection_id":140455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:03:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":140455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:03:40] local.INFO: GPS data processed {"connection_id":140455,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:03:40] local.INFO: Acknowledgment sent {"connection_id":140455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:04:05] local.INFO: TCP Data received {"connection_id":139402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:04:05] local.INFO: Processing buffer {"connection_id":139402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:04:05] local.INFO: IMEI packet received {"connection_id":139402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":139402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:04:08] local.INFO: TCP Data received {"connection_id":139402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:04:08] local.INFO: Processing buffer {"connection_id":139402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:04:08] local.INFO: IMEI packet received {"connection_id":139402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":139402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:04:09] local.INFO: TCP Data received {"connection_id":139402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:04:09] local.INFO: Processing buffer {"connection_id":139402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:04:09] local.INFO: Packet analysis {"connection_id":139402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:04:09] local.INFO: Extracted packet for processing {"connection_id":139402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:04:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:04:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":139402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:04:09] local.INFO: GPS data processed {"connection_id":139402,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:04:09] local.INFO: Acknowledgment sent {"connection_id":139402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:04:40] local.INFO: TCP Data received {"connection_id":139402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:04:40] local.INFO: Processing buffer {"connection_id":139402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:04:40] local.INFO: Packet analysis {"connection_id":139402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:04:40] local.INFO: Extracted packet for processing {"connection_id":139402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":139402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:04:40] local.INFO: GPS data processed {"connection_id":139402,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:04:40] local.INFO: Acknowledgment sent {"connection_id":139402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:05:03] local.INFO: TCP Data received {"connection_id":141805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:05:03] local.INFO: Processing buffer {"connection_id":141805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:05:03] local.INFO: IMEI packet received {"connection_id":141805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":141805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:05:08] local.INFO: TCP Data received {"connection_id":141805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:05:08] local.INFO: Processing buffer {"connection_id":141805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:05:08] local.INFO: IMEI packet received {"connection_id":141805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":141805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:05:09] local.INFO: TCP Data received {"connection_id":141805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:05:09] local.INFO: Processing buffer {"connection_id":141805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:05:09] local.INFO: Packet analysis {"connection_id":141805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:05:09] local.INFO: Extracted packet for processing {"connection_id":141805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:05:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:05:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":141805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:05:09] local.INFO: GPS data processed {"connection_id":141805,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:05:09] local.INFO: Acknowledgment sent {"connection_id":141805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:05:40] local.INFO: TCP Data received {"connection_id":141805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:05:40] local.INFO: Processing buffer {"connection_id":141805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:05:40] local.INFO: Packet analysis {"connection_id":141805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:05:40] local.INFO: Extracted packet for processing {"connection_id":141805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:05:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:05:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":141805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:05:40] local.INFO: GPS data processed {"connection_id":141805,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:05:40] local.INFO: Acknowledgment sent {"connection_id":141805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:06:03] local.INFO: TCP Data received {"connection_id":141806,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:06:03] local.INFO: Processing buffer {"connection_id":141806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:06:03] local.INFO: IMEI packet received {"connection_id":141806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":141806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:06:08] local.INFO: TCP Data received {"connection_id":141806,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:06:08] local.INFO: Processing buffer {"connection_id":141806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:06:08] local.INFO: IMEI packet received {"connection_id":141806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":141806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:06:09] local.INFO: TCP Data received {"connection_id":141806,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:06:09] local.INFO: Processing buffer {"connection_id":141806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:06:09] local.INFO: Packet analysis {"connection_id":141806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:06:09] local.INFO: Extracted packet for processing {"connection_id":141806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:06:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":141806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:06:09] local.INFO: GPS data processed {"connection_id":141806,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:06:09] local.INFO: Acknowledgment sent {"connection_id":141806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:06:40] local.INFO: TCP Data received {"connection_id":141806,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:06:40] local.INFO: Processing buffer {"connection_id":141806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b867668012cb29bc007823b400047003826..."} 
[2026-07-23 02:06:40] local.INFO: Packet analysis {"connection_id":141806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:06:40] local.INFO: Extracted packet for processing {"connection_id":141806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b86"} 
[2026-07-23 02:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896504832001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752273000,"timestamp_ms":1784752273000,"timestamp_seconds":1784752273,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b867668"} 
[2026-07-23 02:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896504832001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896504832001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896504832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":141806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:06:40] local.INFO: GPS data processed {"connection_id":141806,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:06:40] local.INFO: Acknowledgment sent {"connection_id":141806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:07:03] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:07:03] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:07:03] local.INFO: IMEI packet received {"connection_id":139403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":139403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:07:09] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:07:09] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:07:09] local.INFO: IMEI packet received {"connection_id":139403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":139403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:07:09] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:07:09] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:07:09] local.INFO: Packet analysis {"connection_id":139403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:07:09] local.INFO: Extracted packet for processing {"connection_id":139403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:07:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":139403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:07:09] local.INFO: GPS data processed {"connection_id":139403,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:07:09] local.INFO: Acknowledgment sent {"connection_id":139403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:07:41] local.INFO: TCP Data received {"connection_id":139403,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:07:41] local.INFO: Processing buffer {"connection_id":139403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:07:41] local.INFO: Packet analysis {"connection_id":139403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:07:41] local.INFO: Extracted packet for processing {"connection_id":139403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":139403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:07:41] local.INFO: GPS data processed {"connection_id":139403,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:07:41] local.INFO: Acknowledgment sent {"connection_id":139403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:08:04] local.INFO: TCP Data received {"connection_id":141807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:08:04] local.INFO: Processing buffer {"connection_id":141807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:08:04] local.INFO: IMEI packet received {"connection_id":141807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":141807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:08:08] local.INFO: TCP Data received {"connection_id":141807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:08:08] local.INFO: Processing buffer {"connection_id":141807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:08:08] local.INFO: IMEI packet received {"connection_id":141807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":141807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:08:09] local.INFO: TCP Data received {"connection_id":141807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:08:09] local.INFO: Processing buffer {"connection_id":141807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:08:09] local.INFO: Packet analysis {"connection_id":141807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:08:09] local.INFO: Extracted packet for processing {"connection_id":141807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:08:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:08:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":141807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:08:09] local.INFO: GPS data processed {"connection_id":141807,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:08:09] local.INFO: Acknowledgment sent {"connection_id":141807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:08:40] local.INFO: TCP Data received {"connection_id":141807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:08:40] local.INFO: Processing buffer {"connection_id":141807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:08:40] local.INFO: Packet analysis {"connection_id":141807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:08:40] local.INFO: Extracted packet for processing {"connection_id":141807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:08:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":141807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:08:40] local.INFO: GPS data processed {"connection_id":141807,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:08:40] local.INFO: Acknowledgment sent {"connection_id":141807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:09:03] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:09:03] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:09:03] local.INFO: IMEI packet received {"connection_id":139454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":139454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:09:08] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:09:08] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:09:08] local.INFO: IMEI packet received {"connection_id":139454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":139454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:09:09] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:09:09] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:09:09] local.INFO: Packet analysis {"connection_id":139454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:09:09] local.INFO: Extracted packet for processing {"connection_id":139454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":139454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:09:09] local.INFO: GPS data processed {"connection_id":139454,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:09:09] local.INFO: Acknowledgment sent {"connection_id":139454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:09:40] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:09:40] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:09:40] local.INFO: Packet analysis {"connection_id":139454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:09:40] local.INFO: Extracted packet for processing {"connection_id":139454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:09:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":139454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:09:40] local.INFO: GPS data processed {"connection_id":139454,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:09:40] local.INFO: Acknowledgment sent {"connection_id":139454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:10:03] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:10:03] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:10:03] local.INFO: IMEI packet received {"connection_id":139404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":139404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:10:08] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:10:08] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:10:08] local.INFO: IMEI packet received {"connection_id":139404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":139404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:10:09] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:10:09] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:10:09] local.INFO: Packet analysis {"connection_id":139404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:10:09] local.INFO: Extracted packet for processing {"connection_id":139404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:10:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:10:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":139404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:10:09] local.INFO: GPS data processed {"connection_id":139404,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:10:09] local.INFO: Acknowledgment sent {"connection_id":139404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:10:40] local.INFO: TCP Data received {"connection_id":139404,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:10:40] local.INFO: Processing buffer {"connection_id":139404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:10:40] local.INFO: Packet analysis {"connection_id":139404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:10:40] local.INFO: Extracted packet for processing {"connection_id":139404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:10:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":139404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:10:40] local.INFO: GPS data processed {"connection_id":139404,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:10:40] local.INFO: Acknowledgment sent {"connection_id":139404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:11:03] local.INFO: TCP Data received {"connection_id":139405,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:11:03] local.INFO: Processing buffer {"connection_id":139405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:11:03] local.INFO: IMEI packet received {"connection_id":139405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":139405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:11:10] local.INFO: TCP Data received {"connection_id":139405,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:11:10] local.INFO: Processing buffer {"connection_id":139405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:11:10] local.INFO: IMEI packet received {"connection_id":139405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":139405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:11:11] local.INFO: TCP Data received {"connection_id":139405,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:11:11] local.INFO: Processing buffer {"connection_id":139405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:11:11] local.INFO: Packet analysis {"connection_id":139405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:11:11] local.INFO: Extracted packet for processing {"connection_id":139405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:11: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-07-23 02:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":139405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:11:11] local.INFO: GPS data processed {"connection_id":139405,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:11:11] local.INFO: Acknowledgment sent {"connection_id":139405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:11:42] local.INFO: TCP Data received {"connection_id":139405,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:11:42] local.INFO: Processing buffer {"connection_id":139405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8b0e30012cb29bc007823b400045003824..."} 
[2026-07-23 02:11:42] local.INFO: Packet analysis {"connection_id":139405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:11:42] local.INFO: Extracted packet for processing {"connection_id":139405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8b"} 
[2026-07-23 02:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896581888001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784752574000,"timestamp_ms":1784752574000,"timestamp_seconds":1784752574,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8b0e30"} 
[2026-07-23 02:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896581888001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896581888001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896581888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":139405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:11:42] local.INFO: GPS data processed {"connection_id":139405,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:11:42] local.INFO: Acknowledgment sent {"connection_id":139405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:12:08] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:12:08] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:12:08] local.INFO: IMEI packet received {"connection_id":139406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":139406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:12:13] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:12:13] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:12:13] local.INFO: IMEI packet received {"connection_id":139406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":139406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:12:14] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:12:14] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:12:14] local.INFO: Packet analysis {"connection_id":139406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:12:14] local.INFO: Extracted packet for processing {"connection_id":139406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:12:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:12: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-07-23 02:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:12:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":139406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:12:14] local.INFO: GPS data processed {"connection_id":139406,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:12:14] local.INFO: Acknowledgment sent {"connection_id":139406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:12:18] local.INFO: TCP Data received {"connection_id":139406,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:12:18] local.INFO: Processing buffer {"connection_id":139406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:12:18] local.INFO: Packet analysis {"connection_id":139406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:12:18] local.INFO: Extracted packet for processing {"connection_id":139406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:12:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:12:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:12:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:12:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":139406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:12:18] local.INFO: GPS data processed {"connection_id":139406,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:12:18] local.INFO: Acknowledgment sent {"connection_id":139406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:13:03] local.INFO: TCP Data received {"connection_id":140456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:13:03] local.INFO: Processing buffer {"connection_id":140456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:13:03] local.INFO: IMEI packet received {"connection_id":140456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":140456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:13:08] local.INFO: TCP Data received {"connection_id":140456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:13:08] local.INFO: Processing buffer {"connection_id":140456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:13:08] local.INFO: IMEI packet received {"connection_id":140456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":140456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:13:09] local.INFO: TCP Data received {"connection_id":140456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:13:09] local.INFO: Processing buffer {"connection_id":140456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:13:09] local.INFO: Packet analysis {"connection_id":140456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:13:09] local.INFO: Extracted packet for processing {"connection_id":140456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:13:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:13:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":140456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:13:09] local.INFO: GPS data processed {"connection_id":140456,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:13:09] local.INFO: Acknowledgment sent {"connection_id":140456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:13:40] local.INFO: TCP Data received {"connection_id":140456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:13:40] local.INFO: Processing buffer {"connection_id":140456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:13:40] local.INFO: Packet analysis {"connection_id":140456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:13:40] local.INFO: Extracted packet for processing {"connection_id":140456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:13:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":140456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:13:40] local.INFO: GPS data processed {"connection_id":140456,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:13:40] local.INFO: Acknowledgment sent {"connection_id":140456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:14:05] local.INFO: TCP Data received {"connection_id":141808,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:14:05] local.INFO: Processing buffer {"connection_id":141808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:14:05] local.INFO: IMEI packet received {"connection_id":141808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":141808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:14:08] local.INFO: TCP Data received {"connection_id":141808,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:14:08] local.INFO: Processing buffer {"connection_id":141808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:14:08] local.INFO: IMEI packet received {"connection_id":141808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":141808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:14:09] local.INFO: TCP Data received {"connection_id":141808,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:14:09] local.INFO: Processing buffer {"connection_id":141808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:14:09] local.INFO: Packet analysis {"connection_id":141808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:14:09] local.INFO: Extracted packet for processing {"connection_id":141808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:14:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:14:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":141808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:14:09] local.INFO: GPS data processed {"connection_id":141808,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:14:09] local.INFO: Acknowledgment sent {"connection_id":141808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:14:40] local.INFO: TCP Data received {"connection_id":141808,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:14:40] local.INFO: Processing buffer {"connection_id":141808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:14:40] local.INFO: Packet analysis {"connection_id":141808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:14:40] local.INFO: Extracted packet for processing {"connection_id":141808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:14:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":141808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:14:40] local.INFO: GPS data processed {"connection_id":141808,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:14:40] local.INFO: Acknowledgment sent {"connection_id":141808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:15:03] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:15:03] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:15:03] local.INFO: IMEI packet received {"connection_id":139407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":139407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:15:08] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:15:08] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:15:08] local.INFO: IMEI packet received {"connection_id":139407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":139407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:15:09] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:15:09] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:15:09] local.INFO: Packet analysis {"connection_id":139407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:15:09] local.INFO: Extracted packet for processing {"connection_id":139407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:15:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:15:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":139407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:15:09] local.INFO: GPS data processed {"connection_id":139407,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:15:09] local.INFO: Acknowledgment sent {"connection_id":139407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:15:40] local.INFO: TCP Data received {"connection_id":139407,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:15:40] local.INFO: Processing buffer {"connection_id":139407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:15:40] local.INFO: Packet analysis {"connection_id":139407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:15:40] local.INFO: Extracted packet for processing {"connection_id":139407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:15:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:15:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":139407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:15:40] local.INFO: GPS data processed {"connection_id":139407,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:15:40] local.INFO: Acknowledgment sent {"connection_id":139407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:16:03] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:16:03] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:16:03] local.INFO: IMEI packet received {"connection_id":139455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":139455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:16:08] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:16:08] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:16:08] local.INFO: IMEI packet received {"connection_id":139455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":139455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:16:09] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:16:09] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:16:09] local.INFO: Packet analysis {"connection_id":139455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:16:09] local.INFO: Extracted packet for processing {"connection_id":139455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:16:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:16:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":139455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:16:09] local.INFO: GPS data processed {"connection_id":139455,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:16:09] local.INFO: Acknowledgment sent {"connection_id":139455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:16:41] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:16:41] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b8fa5f8012cb29bc007823b400048003827..."} 
[2026-07-23 02:16:41] local.INFO: Packet analysis {"connection_id":139455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:16:41] local.INFO: Extracted packet for processing {"connection_id":139455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b8f"} 
[2026-07-23 02:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896658944001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784752875000,"timestamp_ms":1784752875000,"timestamp_seconds":1784752875,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b8fa5f8"} 
[2026-07-23 02:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896658944001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896658944001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:16:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896658944001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":139455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:16:41] local.INFO: GPS data processed {"connection_id":139455,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:16:41] local.INFO: Acknowledgment sent {"connection_id":139455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:17:09] local.INFO: TCP Data received {"connection_id":140457,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:17:09] local.INFO: Processing buffer {"connection_id":140457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:17:09] local.INFO: IMEI packet received {"connection_id":140457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":140457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:17:13] local.INFO: TCP Data received {"connection_id":140457,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:17:13] local.INFO: Processing buffer {"connection_id":140457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:17:13] local.INFO: IMEI packet received {"connection_id":140457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":140457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:17:14] local.INFO: TCP Data received {"connection_id":140457,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:17:14] local.INFO: Processing buffer {"connection_id":140457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:17:14] local.INFO: Packet analysis {"connection_id":140457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:17:14] local.INFO: Extracted packet for processing {"connection_id":140457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:17:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:17: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-07-23 02:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:17:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":140457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:17:14] local.INFO: GPS data processed {"connection_id":140457,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:17:14] local.INFO: Acknowledgment sent {"connection_id":140457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:17:18] local.INFO: TCP Data received {"connection_id":140457,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:17:18] local.INFO: Processing buffer {"connection_id":140457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:17:18] local.INFO: Packet analysis {"connection_id":140457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:17:18] local.INFO: Extracted packet for processing {"connection_id":140457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:17:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:17:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":140457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:17:18] local.INFO: GPS data processed {"connection_id":140457,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:17:18] local.INFO: Acknowledgment sent {"connection_id":140457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:18:04] local.INFO: TCP Data received {"connection_id":141809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:18:04] local.INFO: Processing buffer {"connection_id":141809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:18:04] local.INFO: IMEI packet received {"connection_id":141809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":141809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:18:08] local.INFO: TCP Data received {"connection_id":141809,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:18:08] local.INFO: Processing buffer {"connection_id":141809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:18:08] local.INFO: IMEI packet received {"connection_id":141809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":141809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:18:09] local.INFO: TCP Data received {"connection_id":141809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:18:09] local.INFO: Processing buffer {"connection_id":141809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:18:09] local.INFO: Packet analysis {"connection_id":141809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:18:09] local.INFO: Extracted packet for processing {"connection_id":141809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:18:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:18:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":141809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:18:09] local.INFO: GPS data processed {"connection_id":141809,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:18:09] local.INFO: Acknowledgment sent {"connection_id":141809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:18:40] local.INFO: TCP Data received {"connection_id":141809,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:18:40] local.INFO: Processing buffer {"connection_id":141809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:18:40] local.INFO: Packet analysis {"connection_id":141809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:18:40] local.INFO: Extracted packet for processing {"connection_id":141809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:18:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:18:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":141809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:18:40] local.INFO: GPS data processed {"connection_id":141809,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:18:40] local.INFO: Acknowledgment sent {"connection_id":141809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:19:03] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:19:03] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:19:03] local.INFO: IMEI packet received {"connection_id":139408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":139408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:19:08] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:19:08] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:19:08] local.INFO: IMEI packet received {"connection_id":139408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":139408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:19:09] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:19:09] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:19:09] local.INFO: Packet analysis {"connection_id":139408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:19:09] local.INFO: Extracted packet for processing {"connection_id":139408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:19:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:19:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":139408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:19:09] local.INFO: GPS data processed {"connection_id":139408,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:19:09] local.INFO: Acknowledgment sent {"connection_id":139408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:19:40] local.INFO: TCP Data received {"connection_id":139408,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:19:40] local.INFO: Processing buffer {"connection_id":139408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:19:40] local.INFO: Packet analysis {"connection_id":139408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:19:40] local.INFO: Extracted packet for processing {"connection_id":139408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:19:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:19:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":139408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:19:40] local.INFO: GPS data processed {"connection_id":139408,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:19:40] local.INFO: Acknowledgment sent {"connection_id":139408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:20:03] local.INFO: TCP Data received {"connection_id":141810,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:20:03] local.INFO: Processing buffer {"connection_id":141810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:20:03] local.INFO: IMEI packet received {"connection_id":141810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":141810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:20:08] local.INFO: TCP Data received {"connection_id":141810,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:20:08] local.INFO: Processing buffer {"connection_id":141810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:20:08] local.INFO: IMEI packet received {"connection_id":141810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":141810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:20:09] local.INFO: TCP Data received {"connection_id":141810,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:20:09] local.INFO: Processing buffer {"connection_id":141810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:20:09] local.INFO: Packet analysis {"connection_id":141810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:20:09] local.INFO: Extracted packet for processing {"connection_id":141810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:20:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:20:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":141810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:20:09] local.INFO: GPS data processed {"connection_id":141810,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:20:09] local.INFO: Acknowledgment sent {"connection_id":141810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:20:40] local.INFO: TCP Data received {"connection_id":141810,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:20:40] local.INFO: Processing buffer {"connection_id":141810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:20:40] local.INFO: Packet analysis {"connection_id":141810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:20:40] local.INFO: Extracted packet for processing {"connection_id":141810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:20:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":141810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:20:40] local.INFO: GPS data processed {"connection_id":141810,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:20:40] local.INFO: Acknowledgment sent {"connection_id":141810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:21:03] local.INFO: TCP Data received {"connection_id":139409,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:21:03] local.INFO: Processing buffer {"connection_id":139409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:21:03] local.INFO: IMEI packet received {"connection_id":139409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":139409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:21:08] local.INFO: TCP Data received {"connection_id":139409,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:21:08] local.INFO: Processing buffer {"connection_id":139409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:21:08] local.INFO: IMEI packet received {"connection_id":139409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":139409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:21:09] local.INFO: TCP Data received {"connection_id":139409,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:21:09] local.INFO: Processing buffer {"connection_id":139409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:21:09] local.INFO: Packet analysis {"connection_id":139409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:21:09] local.INFO: Extracted packet for processing {"connection_id":139409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:21:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:21:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":139409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:21:09] local.INFO: GPS data processed {"connection_id":139409,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:21:09] local.INFO: Acknowledgment sent {"connection_id":139409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:21:41] local.INFO: TCP Data received {"connection_id":139409,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:21:41] local.INFO: Processing buffer {"connection_id":139409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b943dc0012cb29bc007823b400040003826..."} 
[2026-07-23 02:21:41] local.INFO: Packet analysis {"connection_id":139409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:21:41] local.INFO: Extracted packet for processing {"connection_id":139409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b94"} 
[2026-07-23 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":64,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896736000001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784753176000,"timestamp_ms":1784753176000,"timestamp_seconds":1784753176,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b943dc0"} 
[2026-07-23 02:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896736000001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896736000001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896736000001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":139409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:21:41] local.INFO: GPS data processed {"connection_id":139409,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:21:41] local.INFO: Acknowledgment sent {"connection_id":139409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:22:08] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:22:08] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:22:08] local.INFO: IMEI packet received {"connection_id":139456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":139456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:22:13] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:22:13] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:22:13] local.INFO: IMEI packet received {"connection_id":139456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":139456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:22:14] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:22:14] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:22:14] local.INFO: Packet analysis {"connection_id":139456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:22:14] local.INFO: Extracted packet for processing {"connection_id":139456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:22:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:22:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:22: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":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:22:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":139456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:22:14] local.INFO: GPS data processed {"connection_id":139456,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:22:14] local.INFO: Acknowledgment sent {"connection_id":139456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:22:18] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:22:18] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:22:18] local.INFO: Packet analysis {"connection_id":139456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:22:18] local.INFO: Extracted packet for processing {"connection_id":139456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:22:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:22:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":139456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:22:18] local.INFO: GPS data processed {"connection_id":139456,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:22:18] local.INFO: Acknowledgment sent {"connection_id":139456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:23:03] local.INFO: TCP Data received {"connection_id":140458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:23:03] local.INFO: Processing buffer {"connection_id":140458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:23:03] local.INFO: IMEI packet received {"connection_id":140458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":140458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:23:08] local.INFO: TCP Data received {"connection_id":140458,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:23:08] local.INFO: Processing buffer {"connection_id":140458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:23:08] local.INFO: IMEI packet received {"connection_id":140458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":140458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:23:09] local.INFO: TCP Data received {"connection_id":140458,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:23:09] local.INFO: Processing buffer {"connection_id":140458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:23:09] local.INFO: Packet analysis {"connection_id":140458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:23:09] local.INFO: Extracted packet for processing {"connection_id":140458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:23:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:23:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":140458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:23:09] local.INFO: GPS data processed {"connection_id":140458,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:23:09] local.INFO: Acknowledgment sent {"connection_id":140458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:23:40] local.INFO: TCP Data received {"connection_id":140458,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:23:40] local.INFO: Processing buffer {"connection_id":140458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:23:40] local.INFO: Packet analysis {"connection_id":140458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:23:40] local.INFO: Extracted packet for processing {"connection_id":140458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:23:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:23:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":140458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:23:40] local.INFO: GPS data processed {"connection_id":140458,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:23:40] local.INFO: Acknowledgment sent {"connection_id":140458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:24:03] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:24:03] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:24:03] local.INFO: IMEI packet received {"connection_id":139410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":139410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:24:08] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:24:08] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:24:08] local.INFO: IMEI packet received {"connection_id":139410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":139410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:24:09] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:24:09] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:24:09] local.INFO: Packet analysis {"connection_id":139410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:24:09] local.INFO: Extracted packet for processing {"connection_id":139410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:24:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:24:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":139410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:24:09] local.INFO: GPS data processed {"connection_id":139410,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:24:09] local.INFO: Acknowledgment sent {"connection_id":139410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:24:40] local.INFO: TCP Data received {"connection_id":139410,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:24:40] local.INFO: Processing buffer {"connection_id":139410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:24:40] local.INFO: Packet analysis {"connection_id":139410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:24:40] local.INFO: Extracted packet for processing {"connection_id":139410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:24:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:24:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":139410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:24:40] local.INFO: GPS data processed {"connection_id":139410,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:24:40] local.INFO: Acknowledgment sent {"connection_id":139410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:25:03] local.INFO: TCP Data received {"connection_id":141811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:25:03] local.INFO: Processing buffer {"connection_id":141811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:25:03] local.INFO: IMEI packet received {"connection_id":141811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":141811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:25:10] local.INFO: TCP Data received {"connection_id":141811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:25:10] local.INFO: Processing buffer {"connection_id":141811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:25:10] local.INFO: IMEI packet received {"connection_id":141811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":141811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:25:11] local.INFO: TCP Data received {"connection_id":141811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:25:11] local.INFO: Processing buffer {"connection_id":141811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:25:11] local.INFO: Packet analysis {"connection_id":141811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:25:11] local.INFO: Extracted packet for processing {"connection_id":141811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":141811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:25:11] local.INFO: GPS data processed {"connection_id":141811,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:25:11] local.INFO: Acknowledgment sent {"connection_id":141811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:25:42] local.INFO: TCP Data received {"connection_id":141811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:25:42] local.INFO: Processing buffer {"connection_id":141811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:25:42] local.INFO: Packet analysis {"connection_id":141811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:25:42] local.INFO: Extracted packet for processing {"connection_id":141811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":141811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:25:42] local.INFO: GPS data processed {"connection_id":141811,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:25:42] local.INFO: Acknowledgment sent {"connection_id":141811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:26:03] local.INFO: TCP Data received {"connection_id":140459,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:26:03] local.INFO: Processing buffer {"connection_id":140459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:26:03] local.INFO: IMEI packet received {"connection_id":140459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":140459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:26:09] local.INFO: TCP Data received {"connection_id":140459,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:26:09] local.INFO: Processing buffer {"connection_id":140459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:26:09] local.INFO: IMEI packet received {"connection_id":140459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":140459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:26:10] local.INFO: TCP Data received {"connection_id":140459,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:26:10] local.INFO: Processing buffer {"connection_id":140459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:26:10] local.INFO: Packet analysis {"connection_id":140459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:26:10] local.INFO: Extracted packet for processing {"connection_id":140459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:26: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":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":140459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":140459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":140459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:26:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":140459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:26:11] local.INFO: GPS data processed {"connection_id":140459,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:26:11] local.INFO: Acknowledgment sent {"connection_id":140459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:26:42] local.INFO: TCP Data received {"connection_id":140459,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:26:42] local.INFO: Processing buffer {"connection_id":140459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b98d588012cb29bc007823b400046003828..."} 
[2026-07-23 02:26:42] local.INFO: Packet analysis {"connection_id":140459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:26:42] local.INFO: Extracted packet for processing {"connection_id":140459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b98"} 
[2026-07-23 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896813056001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784753477000,"timestamp_ms":1784753477000,"timestamp_seconds":1784753477,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b98d588"} 
[2026-07-23 02:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 02:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896813056001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896813056001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:26:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896813056001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":140459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:26:42] local.INFO: GPS data processed {"connection_id":140459,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:26:42] local.INFO: Acknowledgment sent {"connection_id":140459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:27:03] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:27:03] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:27:03] local.INFO: IMEI packet received {"connection_id":139457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":139457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:27:10] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:27:10] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:27:10] local.INFO: IMEI packet received {"connection_id":139457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":139457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:27:11] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:27:11] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:27:11] local.INFO: Packet analysis {"connection_id":139457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:27:11] local.INFO: Extracted packet for processing {"connection_id":139457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":139457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":139457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:27:11] local.INFO: GPS data processed {"connection_id":139457,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:27:11] local.INFO: Acknowledgment sent {"connection_id":139457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:27:42] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:27:42] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:27:42] local.INFO: Packet analysis {"connection_id":139457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:27:42] local.INFO: Extracted packet for processing {"connection_id":139457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":139457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:27:42] local.INFO: GPS data processed {"connection_id":139457,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:27:42] local.INFO: Acknowledgment sent {"connection_id":139457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:28:03] local.INFO: TCP Data received {"connection_id":140460,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:28:03] local.INFO: Processing buffer {"connection_id":140460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:28:03] local.INFO: IMEI packet received {"connection_id":140460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":140460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:28:08] local.INFO: TCP Data received {"connection_id":140460,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:28:08] local.INFO: Processing buffer {"connection_id":140460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:28:08] local.INFO: IMEI packet received {"connection_id":140460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":140460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:28:09] local.INFO: TCP Data received {"connection_id":140460,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:28:09] local.INFO: Processing buffer {"connection_id":140460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:28:09] local.INFO: Packet analysis {"connection_id":140460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:28:09] local.INFO: Extracted packet for processing {"connection_id":140460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:28:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:28:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":140460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:28:09] local.INFO: GPS data processed {"connection_id":140460,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:28:09] local.INFO: Acknowledgment sent {"connection_id":140460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:28:40] local.INFO: TCP Data received {"connection_id":140460,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:28:40] local.INFO: Processing buffer {"connection_id":140460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:28:40] local.INFO: Packet analysis {"connection_id":140460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:28:40] local.INFO: Extracted packet for processing {"connection_id":140460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:28:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:28: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-07-23 02:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:28:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":140460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:28:40] local.INFO: GPS data processed {"connection_id":140460,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:28:40] local.INFO: Acknowledgment sent {"connection_id":140460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:29:03] local.INFO: TCP Data received {"connection_id":140461,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:29:03] local.INFO: Processing buffer {"connection_id":140461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:29:03] local.INFO: IMEI packet received {"connection_id":140461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":140461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:29:08] local.INFO: TCP Data received {"connection_id":140461,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:29:08] local.INFO: Processing buffer {"connection_id":140461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:29:08] local.INFO: IMEI packet received {"connection_id":140461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":140461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:29:09] local.INFO: TCP Data received {"connection_id":140461,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:29:09] local.INFO: Processing buffer {"connection_id":140461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:29:09] local.INFO: Packet analysis {"connection_id":140461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:29:09] local.INFO: Extracted packet for processing {"connection_id":140461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:29:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:29:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":140461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:29:09] local.INFO: GPS data processed {"connection_id":140461,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:29:09] local.INFO: Acknowledgment sent {"connection_id":140461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:29:40] local.INFO: TCP Data received {"connection_id":140461,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:29:40] local.INFO: Processing buffer {"connection_id":140461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:29:40] local.INFO: Packet analysis {"connection_id":140461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:29:40] local.INFO: Extracted packet for processing {"connection_id":140461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:29: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-07-23 02:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:29:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":140461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:29:40] local.INFO: GPS data processed {"connection_id":140461,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:29:40] local.INFO: Acknowledgment sent {"connection_id":140461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:30:03] local.INFO: TCP Data received {"connection_id":140462,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:30:03] local.INFO: Processing buffer {"connection_id":140462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:30:03] local.INFO: IMEI packet received {"connection_id":140462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":140462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:30:08] local.INFO: TCP Data received {"connection_id":140462,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:30:08] local.INFO: Processing buffer {"connection_id":140462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:30:08] local.INFO: IMEI packet received {"connection_id":140462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":140462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:30:09] local.INFO: TCP Data received {"connection_id":140462,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:30:09] local.INFO: Processing buffer {"connection_id":140462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:30:09] local.INFO: Packet analysis {"connection_id":140462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:30:09] local.INFO: Extracted packet for processing {"connection_id":140462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:30:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:30:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":140462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:30:09] local.INFO: GPS data processed {"connection_id":140462,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:30:09] local.INFO: Acknowledgment sent {"connection_id":140462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:30:40] local.INFO: TCP Data received {"connection_id":140462,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:30:40] local.INFO: Processing buffer {"connection_id":140462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:30:40] local.INFO: Packet analysis {"connection_id":140462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:30:40] local.INFO: Extracted packet for processing {"connection_id":140462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:30:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:30: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-07-23 02:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:30:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":140462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:30:40] local.INFO: GPS data processed {"connection_id":140462,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:30:40] local.INFO: Acknowledgment sent {"connection_id":140462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:31:03] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:31:03] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:31:03] local.INFO: IMEI packet received {"connection_id":139411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":139411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:31:08] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:31:08] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:31:08] local.INFO: IMEI packet received {"connection_id":139411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":139411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:31:09] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:31:09] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:31:09] local.INFO: Packet analysis {"connection_id":139411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:31:09] local.INFO: Extracted packet for processing {"connection_id":139411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:31:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:31:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:31:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:31:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":139411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:31:09] local.INFO: GPS data processed {"connection_id":139411,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:31:09] local.INFO: Acknowledgment sent {"connection_id":139411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:31:40] local.INFO: TCP Data received {"connection_id":139411,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:31:40] local.INFO: Processing buffer {"connection_id":139411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8b9d6d50012cb29bc007823b400046003827..."} 
[2026-07-23 02:31:40] local.INFO: Packet analysis {"connection_id":139411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:31:40] local.INFO: Extracted packet for processing {"connection_id":139411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8b9d"} 
[2026-07-23 02:31:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896890112001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784753778000,"timestamp_ms":1784753778000,"timestamp_seconds":1784753778,"priority":1,"record_length":96,"hex_timestamp":"0000019f8b9d6d50"} 
[2026-07-23 02:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:31: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-07-23 02:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896890112001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896890112001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:31:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896890112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":139411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:31:40] local.INFO: GPS data processed {"connection_id":139411,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:31:40] local.INFO: Acknowledgment sent {"connection_id":139411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:32:03] local.INFO: TCP Data received {"connection_id":140463,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:32:03] local.INFO: Processing buffer {"connection_id":140463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:32:03] local.INFO: IMEI packet received {"connection_id":140463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":140463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:32:08] local.INFO: TCP Data received {"connection_id":140463,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:32:08] local.INFO: Processing buffer {"connection_id":140463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:32:08] local.INFO: IMEI packet received {"connection_id":140463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":140463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:32:09] local.INFO: TCP Data received {"connection_id":140463,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:32:09] local.INFO: Processing buffer {"connection_id":140463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:32:09] local.INFO: Packet analysis {"connection_id":140463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:32:09] local.INFO: Extracted packet for processing {"connection_id":140463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:32:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:32:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":140463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:32:09] local.INFO: GPS data processed {"connection_id":140463,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:32:09] local.INFO: Acknowledgment sent {"connection_id":140463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:32:40] local.INFO: TCP Data received {"connection_id":140463,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:32:40] local.INFO: Processing buffer {"connection_id":140463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:32:40] local.INFO: Packet analysis {"connection_id":140463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:32:40] local.INFO: Extracted packet for processing {"connection_id":140463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:32:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":140463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:32:40] local.INFO: GPS data processed {"connection_id":140463,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:32:40] local.INFO: Acknowledgment sent {"connection_id":140463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:33:03] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:33:03] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:33:03] local.INFO: IMEI packet received {"connection_id":139458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":139458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:33:08] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:33:08] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:33:08] local.INFO: IMEI packet received {"connection_id":139458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":139458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:33:09] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:33:09] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:33:09] local.INFO: Packet analysis {"connection_id":139458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:33:09] local.INFO: Extracted packet for processing {"connection_id":139458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:33:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:33:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":139458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:33:09] local.INFO: GPS data processed {"connection_id":139458,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:33:09] local.INFO: Acknowledgment sent {"connection_id":139458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:33:40] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:33:40] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:33:40] local.INFO: Packet analysis {"connection_id":139458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:33:40] local.INFO: Extracted packet for processing {"connection_id":139458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:33:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:33:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":139458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:33:40] local.INFO: GPS data processed {"connection_id":139458,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:33:40] local.INFO: Acknowledgment sent {"connection_id":139458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:34:03] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:34:03] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:34:03] local.INFO: IMEI packet received {"connection_id":139459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":139459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:34:08] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:34:08] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:34:08] local.INFO: IMEI packet received {"connection_id":139459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":139459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:34:09] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:34:09] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:34:09] local.INFO: Packet analysis {"connection_id":139459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:34:09] local.INFO: Extracted packet for processing {"connection_id":139459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:34:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:34:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":139459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:34:09] local.INFO: GPS data processed {"connection_id":139459,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:34:09] local.INFO: Acknowledgment sent {"connection_id":139459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:34:40] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:34:40] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:34:40] local.INFO: Packet analysis {"connection_id":139459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:34:40] local.INFO: Extracted packet for processing {"connection_id":139459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:34:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":139459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:34:40] local.INFO: GPS data processed {"connection_id":139459,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:34:40] local.INFO: Acknowledgment sent {"connection_id":139459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:35:03] local.INFO: TCP Data received {"connection_id":140464,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:35:03] local.INFO: Processing buffer {"connection_id":140464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:35:03] local.INFO: IMEI packet received {"connection_id":140464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":140464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:35:08] local.INFO: TCP Data received {"connection_id":140464,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:35:08] local.INFO: Processing buffer {"connection_id":140464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:35:08] local.INFO: IMEI packet received {"connection_id":140464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":140464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:35:09] local.INFO: TCP Data received {"connection_id":140464,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:35:09] local.INFO: Processing buffer {"connection_id":140464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:35:09] local.INFO: Packet analysis {"connection_id":140464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:35:09] local.INFO: Extracted packet for processing {"connection_id":140464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:35:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:35:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":140464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:35:09] local.INFO: GPS data processed {"connection_id":140464,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:35:09] local.INFO: Acknowledgment sent {"connection_id":140464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:35:40] local.INFO: TCP Data received {"connection_id":140464,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:35:40] local.INFO: Processing buffer {"connection_id":140464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:35:40] local.INFO: Packet analysis {"connection_id":140464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:35:40] local.INFO: Extracted packet for processing {"connection_id":140464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:35:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:35:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":140464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:35:40] local.INFO: GPS data processed {"connection_id":140464,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:35:40] local.INFO: Acknowledgment sent {"connection_id":140464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:36:03] local.INFO: TCP Data received {"connection_id":141812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:36:03] local.INFO: Processing buffer {"connection_id":141812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:36:03] local.INFO: IMEI packet received {"connection_id":141812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":141812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:36:08] local.INFO: TCP Data received {"connection_id":141812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:36:08] local.INFO: Processing buffer {"connection_id":141812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:36:08] local.INFO: IMEI packet received {"connection_id":141812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":141812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:36:09] local.INFO: TCP Data received {"connection_id":141812,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:36:09] local.INFO: Processing buffer {"connection_id":141812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:36:09] local.INFO: Packet analysis {"connection_id":141812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:36:09] local.INFO: Extracted packet for processing {"connection_id":141812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:36:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":141812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:36:09] local.INFO: GPS data processed {"connection_id":141812,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:36:09] local.INFO: Acknowledgment sent {"connection_id":141812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:36:40] local.INFO: TCP Data received {"connection_id":141812,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:36:40] local.INFO: Processing buffer {"connection_id":141812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba20518012cb29bc007823b400047003824..."} 
[2026-07-23 02:36:40] local.INFO: Packet analysis {"connection_id":141812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:36:40] local.INFO: Extracted packet for processing {"connection_id":141812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba2"} 
[2026-07-23 02:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456896967168001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754079000,"timestamp_ms":1784754079000,"timestamp_seconds":1784754079,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba20518"} 
[2026-07-23 02:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456896967168001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456896967168001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:36:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456896967168001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":141812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:36:40] local.INFO: GPS data processed {"connection_id":141812,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:36:40] local.INFO: Acknowledgment sent {"connection_id":141812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:37:03] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:37:03] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:37:03] local.INFO: IMEI packet received {"connection_id":139460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":139460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:37:08] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:37:08] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:37:08] local.INFO: IMEI packet received {"connection_id":139460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":139460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:37:08] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:37:08] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:37:08] local.INFO: Packet analysis {"connection_id":139460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:37:08] local.INFO: Extracted packet for processing {"connection_id":139460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:37:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:37:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":139460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:37:08] local.INFO: GPS data processed {"connection_id":139460,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:37:08] local.INFO: Acknowledgment sent {"connection_id":139460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:37:41] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:37:41] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:37:41] local.INFO: Packet analysis {"connection_id":139460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:37:41] local.INFO: Extracted packet for processing {"connection_id":139460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":139460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:37:41] local.INFO: GPS data processed {"connection_id":139460,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:37:41] local.INFO: Acknowledgment sent {"connection_id":139460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:38:03] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:38:03] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:38:03] local.INFO: IMEI packet received {"connection_id":139461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":139461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:38:08] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:38:08] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:38:08] local.INFO: IMEI packet received {"connection_id":139461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":139461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:38:08] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:38:08] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:38:08] local.INFO: Packet analysis {"connection_id":139461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:38:08] local.INFO: Extracted packet for processing {"connection_id":139461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:38:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":139461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:38:08] local.INFO: GPS data processed {"connection_id":139461,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:38:08] local.INFO: Acknowledgment sent {"connection_id":139461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:38:39] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:38:39] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:38:39] local.INFO: Packet analysis {"connection_id":139461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:38:39] local.INFO: Extracted packet for processing {"connection_id":139461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:38:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:38:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:38: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-07-23 02:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:38:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":139461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:38:39] local.INFO: GPS data processed {"connection_id":139461,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:38:39] local.INFO: Acknowledgment sent {"connection_id":139461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:39:03] local.INFO: TCP Data received {"connection_id":140465,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:39:03] local.INFO: Processing buffer {"connection_id":140465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:39:03] local.INFO: IMEI packet received {"connection_id":140465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":140465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:39:08] local.INFO: TCP Data received {"connection_id":140465,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:39:08] local.INFO: Processing buffer {"connection_id":140465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:39:08] local.INFO: IMEI packet received {"connection_id":140465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":140465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:39:09] local.INFO: TCP Data received {"connection_id":140465,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:39:09] local.INFO: Processing buffer {"connection_id":140465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:39:09] local.INFO: Packet analysis {"connection_id":140465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:39:09] local.INFO: Extracted packet for processing {"connection_id":140465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:39:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":140465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:39:09] local.INFO: GPS data processed {"connection_id":140465,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:39:09] local.INFO: Acknowledgment sent {"connection_id":140465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:39:40] local.INFO: TCP Data received {"connection_id":140465,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:39:40] local.INFO: Processing buffer {"connection_id":140465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:39:40] local.INFO: Packet analysis {"connection_id":140465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:39:40] local.INFO: Extracted packet for processing {"connection_id":140465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:39: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-07-23 02:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:39:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":140465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:39:40] local.INFO: GPS data processed {"connection_id":140465,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:39:40] local.INFO: Acknowledgment sent {"connection_id":140465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:40:03] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:40:03] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:40:03] local.INFO: IMEI packet received {"connection_id":139412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":139412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:40:08] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:40:08] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:40:08] local.INFO: IMEI packet received {"connection_id":139412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":139412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:40:09] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:40:09] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:40:09] local.INFO: Packet analysis {"connection_id":139412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:40:09] local.INFO: Extracted packet for processing {"connection_id":139412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:40:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:40:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":139412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:40:09] local.INFO: GPS data processed {"connection_id":139412,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:40:09] local.INFO: Acknowledgment sent {"connection_id":139412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:40:40] local.INFO: TCP Data received {"connection_id":139412,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:40:40] local.INFO: Processing buffer {"connection_id":139412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:40:40] local.INFO: Packet analysis {"connection_id":139412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:40:40] local.INFO: Extracted packet for processing {"connection_id":139412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:40:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:40: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-07-23 02:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:40:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":139412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:40:40] local.INFO: GPS data processed {"connection_id":139412,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:40:40] local.INFO: Acknowledgment sent {"connection_id":139412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:41:03] local.INFO: TCP Data received {"connection_id":140466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:41:03] local.INFO: Processing buffer {"connection_id":140466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:41:03] local.INFO: IMEI packet received {"connection_id":140466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":140466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:41:08] local.INFO: TCP Data received {"connection_id":140466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:41:08] local.INFO: Processing buffer {"connection_id":140466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:41:08] local.INFO: IMEI packet received {"connection_id":140466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":140466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:41:08] local.INFO: TCP Data received {"connection_id":140466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:41:08] local.INFO: Processing buffer {"connection_id":140466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:41:08] local.INFO: Packet analysis {"connection_id":140466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:41:08] local.INFO: Extracted packet for processing {"connection_id":140466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:41:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:41:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":140466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:41:08] local.INFO: GPS data processed {"connection_id":140466,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:41:08] local.INFO: Acknowledgment sent {"connection_id":140466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:41:39] local.INFO: TCP Data received {"connection_id":140466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:41:39] local.INFO: Processing buffer {"connection_id":140466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8ba69ce0012cb29bc007823b400045003827..."} 
[2026-07-23 02:41:39] local.INFO: Packet analysis {"connection_id":140466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:41:39] local.INFO: Extracted packet for processing {"connection_id":140466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8ba6"} 
[2026-07-23 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897044224001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784754380000,"timestamp_ms":1784754380000,"timestamp_seconds":1784754380,"priority":1,"record_length":96,"hex_timestamp":"0000019f8ba69ce0"} 
[2026-07-23 02:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 02:41: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-07-23 02:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897044224001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897044224001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897044224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":140466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:41:40] local.INFO: GPS data processed {"connection_id":140466,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:41:40] local.INFO: Acknowledgment sent {"connection_id":140466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:42:03] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:42:03] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:42:03] local.INFO: IMEI packet received {"connection_id":139462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":139462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:42:08] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:42:08] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:42:08] local.INFO: IMEI packet received {"connection_id":139462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":139462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:42:08] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:42:08] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:42:08] local.INFO: Packet analysis {"connection_id":139462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:42:08] local.INFO: Extracted packet for processing {"connection_id":139462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:42:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:42:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":139462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:42:08] local.INFO: GPS data processed {"connection_id":139462,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:42:08] local.INFO: Acknowledgment sent {"connection_id":139462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:42:39] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:42:39] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:42:39] local.INFO: Packet analysis {"connection_id":139462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:42:39] local.INFO: Extracted packet for processing {"connection_id":139462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:42:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:42:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":139462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:42:39] local.INFO: GPS data processed {"connection_id":139462,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:42:39] local.INFO: Acknowledgment sent {"connection_id":139462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:43:08] local.INFO: TCP Data received {"connection_id":141813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:43:08] local.INFO: Processing buffer {"connection_id":141813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:43:08] local.INFO: IMEI packet received {"connection_id":141813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":141813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:43:13] local.INFO: TCP Data received {"connection_id":141813,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:43:13] local.INFO: Processing buffer {"connection_id":141813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:43:13] local.INFO: IMEI packet received {"connection_id":141813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":141813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:43:14] local.INFO: TCP Data received {"connection_id":141813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:43:14] local.INFO: Processing buffer {"connection_id":141813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:43:14] local.INFO: Packet analysis {"connection_id":141813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:43:14] local.INFO: Extracted packet for processing {"connection_id":141813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:43:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:43: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-07-23 02: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-07-23 02:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:43:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":141813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:43:14] local.INFO: GPS data processed {"connection_id":141813,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:43:14] local.INFO: Acknowledgment sent {"connection_id":141813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:43:18] local.INFO: TCP Data received {"connection_id":141813,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:43:18] local.INFO: Processing buffer {"connection_id":141813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:43:18] local.INFO: Packet analysis {"connection_id":141813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:43:18] local.INFO: Extracted packet for processing {"connection_id":141813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:43:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:43:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:43:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:43:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":141813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:43:18] local.INFO: GPS data processed {"connection_id":141813,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:43:18] local.INFO: Acknowledgment sent {"connection_id":141813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:44:03] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:44:03] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:44:03] local.INFO: IMEI packet received {"connection_id":139463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":139463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:44:08] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:44:08] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:44:08] local.INFO: IMEI packet received {"connection_id":139463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":139463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:44:09] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:44:09] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:44:09] local.INFO: Packet analysis {"connection_id":139463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:44:09] local.INFO: Extracted packet for processing {"connection_id":139463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:44:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:44:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:44:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:44:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":139463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:44:09] local.INFO: GPS data processed {"connection_id":139463,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:44:09] local.INFO: Acknowledgment sent {"connection_id":139463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:44:40] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:44:40] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:44:40] local.INFO: Packet analysis {"connection_id":139463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:44:40] local.INFO: Extracted packet for processing {"connection_id":139463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:44:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:44:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:44:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:44:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":139463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:44:40] local.INFO: GPS data processed {"connection_id":139463,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:44:40] local.INFO: Acknowledgment sent {"connection_id":139463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:45:03] local.INFO: TCP Data received {"connection_id":141814,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:45:03] local.INFO: Processing buffer {"connection_id":141814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:45:03] local.INFO: IMEI packet received {"connection_id":141814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":141814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:45:08] local.INFO: TCP Data received {"connection_id":141814,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:45:08] local.INFO: Processing buffer {"connection_id":141814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:45:08] local.INFO: IMEI packet received {"connection_id":141814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":141814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:45:09] local.INFO: TCP Data received {"connection_id":141814,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:45:09] local.INFO: Processing buffer {"connection_id":141814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:45:09] local.INFO: Packet analysis {"connection_id":141814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:45:09] local.INFO: Extracted packet for processing {"connection_id":141814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:45:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:45:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:45:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:45:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":141814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:45:09] local.INFO: GPS data processed {"connection_id":141814,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:45:09] local.INFO: Acknowledgment sent {"connection_id":141814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:45:40] local.INFO: TCP Data received {"connection_id":141814,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:45:40] local.INFO: Processing buffer {"connection_id":141814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:45:40] local.INFO: Packet analysis {"connection_id":141814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:45:40] local.INFO: Extracted packet for processing {"connection_id":141814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:45:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:45:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":141814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:45:40] local.INFO: GPS data processed {"connection_id":141814,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:45:40] local.INFO: Acknowledgment sent {"connection_id":141814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:46:03] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:46:03] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:46:03] local.INFO: IMEI packet received {"connection_id":139464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":139464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:46:08] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:46:08] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:46:08] local.INFO: IMEI packet received {"connection_id":139464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":139464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:46:09] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:46:09] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:46:09] local.INFO: Packet analysis {"connection_id":139464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:46:09] local.INFO: Extracted packet for processing {"connection_id":139464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:46:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:46:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":139464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:46:09] local.INFO: GPS data processed {"connection_id":139464,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:46:09] local.INFO: Acknowledgment sent {"connection_id":139464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:46:40] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:46:40] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bab34a8012cb29bc007823b40004a003828..."} 
[2026-07-23 02:46:40] local.INFO: Packet analysis {"connection_id":139464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:46:40] local.INFO: Extracted packet for processing {"connection_id":139464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bab"} 
[2026-07-23 02:46:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897121280001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754681000,"timestamp_ms":1784754681000,"timestamp_seconds":1784754681,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bab34a8"} 
[2026-07-23 02:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897121280001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897121280001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:46:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897121280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":139464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:46:40] local.INFO: GPS data processed {"connection_id":139464,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:46:40] local.INFO: Acknowledgment sent {"connection_id":139464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:47:03] local.INFO: TCP Data received {"connection_id":140467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:47:03] local.INFO: Processing buffer {"connection_id":140467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:47:03] local.INFO: IMEI packet received {"connection_id":140467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":140467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:47:08] local.INFO: TCP Data received {"connection_id":140467,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:47:08] local.INFO: Processing buffer {"connection_id":140467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:47:08] local.INFO: IMEI packet received {"connection_id":140467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":140467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:47:08] local.INFO: TCP Data received {"connection_id":140467,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:47:08] local.INFO: Processing buffer {"connection_id":140467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:47:08] local.INFO: Packet analysis {"connection_id":140467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:47:08] local.INFO: Extracted packet for processing {"connection_id":140467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:47:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:47:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":140467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:47:08] local.INFO: GPS data processed {"connection_id":140467,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:47:08] local.INFO: Acknowledgment sent {"connection_id":140467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:47:39] local.INFO: TCP Data received {"connection_id":140467,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:47:39] local.INFO: Processing buffer {"connection_id":140467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:47:39] local.INFO: Packet analysis {"connection_id":140467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:47:39] local.INFO: Extracted packet for processing {"connection_id":140467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:47:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:47:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:47:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:47:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:47:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":140467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:47:39] local.INFO: GPS data processed {"connection_id":140467,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:47:39] local.INFO: Acknowledgment sent {"connection_id":140467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:48:03] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:48:03] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:48:03] local.INFO: IMEI packet received {"connection_id":139413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":139413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:48:08] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:48:08] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:48:08] local.INFO: IMEI packet received {"connection_id":139413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":139413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:48:09] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:48:09] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:48:09] local.INFO: Packet analysis {"connection_id":139413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:48:09] local.INFO: Extracted packet for processing {"connection_id":139413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:48:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:48:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":139413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:48:09] local.INFO: GPS data processed {"connection_id":139413,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:48:09] local.INFO: Acknowledgment sent {"connection_id":139413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:48:40] local.INFO: TCP Data received {"connection_id":139413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:48:40] local.INFO: Processing buffer {"connection_id":139413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:48:40] local.INFO: Packet analysis {"connection_id":139413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:48:40] local.INFO: Extracted packet for processing {"connection_id":139413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":139413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:48:40] local.INFO: GPS data processed {"connection_id":139413,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:48:40] local.INFO: Acknowledgment sent {"connection_id":139413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:49:03] local.INFO: TCP Data received {"connection_id":139465,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:49:03] local.INFO: Processing buffer {"connection_id":139465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:49:03] local.INFO: IMEI packet received {"connection_id":139465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":139465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:49:08] local.INFO: TCP Data received {"connection_id":139465,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:49:08] local.INFO: Processing buffer {"connection_id":139465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:49:08] local.INFO: IMEI packet received {"connection_id":139465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":139465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:49:09] local.INFO: TCP Data received {"connection_id":139465,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:49:09] local.INFO: Processing buffer {"connection_id":139465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:49:09] local.INFO: Packet analysis {"connection_id":139465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:49:09] local.INFO: Extracted packet for processing {"connection_id":139465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:49:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":139465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:49:09] local.INFO: GPS data processed {"connection_id":139465,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:49:09] local.INFO: Acknowledgment sent {"connection_id":139465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:49:40] local.INFO: TCP Data received {"connection_id":139465,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:49:40] local.INFO: Processing buffer {"connection_id":139465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:49:40] local.INFO: Packet analysis {"connection_id":139465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:49:40] local.INFO: Extracted packet for processing {"connection_id":139465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:49:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:49:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":139465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:49:40] local.INFO: GPS data processed {"connection_id":139465,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:49:40] local.INFO: Acknowledgment sent {"connection_id":139465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:50:03] local.INFO: TCP Data received {"connection_id":139466,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:50:03] local.INFO: Processing buffer {"connection_id":139466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:50:03] local.INFO: IMEI packet received {"connection_id":139466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":139466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:50:08] local.INFO: TCP Data received {"connection_id":139466,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:50:08] local.INFO: Processing buffer {"connection_id":139466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:50:08] local.INFO: IMEI packet received {"connection_id":139466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":139466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:50:09] local.INFO: TCP Data received {"connection_id":139466,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:50:09] local.INFO: Processing buffer {"connection_id":139466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:50:09] local.INFO: Packet analysis {"connection_id":139466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:50:09] local.INFO: Extracted packet for processing {"connection_id":139466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:50:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:50:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":139466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:50:09] local.INFO: GPS data processed {"connection_id":139466,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:50:09] local.INFO: Acknowledgment sent {"connection_id":139466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:50:40] local.INFO: TCP Data received {"connection_id":139466,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:50:40] local.INFO: Processing buffer {"connection_id":139466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:50:40] local.INFO: Packet analysis {"connection_id":139466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:50:40] local.INFO: Extracted packet for processing {"connection_id":139466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:50:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:50:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:50:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":139466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:50:40] local.INFO: GPS data processed {"connection_id":139466,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:50:40] local.INFO: Acknowledgment sent {"connection_id":139466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:51:03] local.INFO: TCP Data received {"connection_id":140468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:51:03] local.INFO: Processing buffer {"connection_id":140468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:51:03] local.INFO: IMEI packet received {"connection_id":140468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":140468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:51:08] local.INFO: TCP Data received {"connection_id":140468,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:51:08] local.INFO: Processing buffer {"connection_id":140468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:51:08] local.INFO: IMEI packet received {"connection_id":140468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":140468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:51:09] local.INFO: TCP Data received {"connection_id":140468,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:51:09] local.INFO: Processing buffer {"connection_id":140468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:51:09] local.INFO: Packet analysis {"connection_id":140468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:51:09] local.INFO: Extracted packet for processing {"connection_id":140468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:51:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":140468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:51:09] local.INFO: GPS data processed {"connection_id":140468,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:51:09] local.INFO: Acknowledgment sent {"connection_id":140468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:51:40] local.INFO: TCP Data received {"connection_id":140468,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:51:40] local.INFO: Processing buffer {"connection_id":140468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bafcc70012cb29bc007823b400049003826..."} 
[2026-07-23 02:51:40] local.INFO: Packet analysis {"connection_id":140468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:51:40] local.INFO: Extracted packet for processing {"connection_id":140468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8baf"} 
[2026-07-23 02:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897198336001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784754982000,"timestamp_ms":1784754982000,"timestamp_seconds":1784754982,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bafcc70"} 
[2026-07-23 02:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897198336001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897198336001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897198336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":140468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:51:40] local.INFO: GPS data processed {"connection_id":140468,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:51:40] local.INFO: Acknowledgment sent {"connection_id":140468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:52:03] local.INFO: TCP Data received {"connection_id":140469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:52:03] local.INFO: Processing buffer {"connection_id":140469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:52:03] local.INFO: IMEI packet received {"connection_id":140469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":140469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:52:08] local.INFO: TCP Data received {"connection_id":140469,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:52:08] local.INFO: Processing buffer {"connection_id":140469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:52:08] local.INFO: IMEI packet received {"connection_id":140469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":140469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:52:09] local.INFO: TCP Data received {"connection_id":140469,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:52:09] local.INFO: Processing buffer {"connection_id":140469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:52:09] local.INFO: Packet analysis {"connection_id":140469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:52:09] local.INFO: Extracted packet for processing {"connection_id":140469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:52:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:52:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:52:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:52:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":140469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:52:09] local.INFO: GPS data processed {"connection_id":140469,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:52:09] local.INFO: Acknowledgment sent {"connection_id":140469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:52:40] local.INFO: TCP Data received {"connection_id":140469,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:52:40] local.INFO: Processing buffer {"connection_id":140469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:52:40] local.INFO: Packet analysis {"connection_id":140469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:52:40] local.INFO: Extracted packet for processing {"connection_id":140469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:52:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:52:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:52:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":140469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:52:40] local.INFO: GPS data processed {"connection_id":140469,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:52:40] local.INFO: Acknowledgment sent {"connection_id":140469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:53:03] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:53:03] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:53:03] local.INFO: IMEI packet received {"connection_id":139414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":139414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:53:08] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:53:08] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:53:08] local.INFO: IMEI packet received {"connection_id":139414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":139414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:53:09] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:53:09] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:53:09] local.INFO: Packet analysis {"connection_id":139414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:53:09] local.INFO: Extracted packet for processing {"connection_id":139414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:53:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:53:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":139414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:53:09] local.INFO: GPS data processed {"connection_id":139414,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:53:09] local.INFO: Acknowledgment sent {"connection_id":139414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:53:40] local.INFO: TCP Data received {"connection_id":139414,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:53:40] local.INFO: Processing buffer {"connection_id":139414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:53:40] local.INFO: Packet analysis {"connection_id":139414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:53:40] local.INFO: Extracted packet for processing {"connection_id":139414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:53:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:53:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":139414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:53:40] local.INFO: GPS data processed {"connection_id":139414,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:53:40] local.INFO: Acknowledgment sent {"connection_id":139414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:54:03] local.INFO: TCP Data received {"connection_id":139467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:54:03] local.INFO: Processing buffer {"connection_id":139467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:54:03] local.INFO: IMEI packet received {"connection_id":139467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":139467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:54:08] local.INFO: TCP Data received {"connection_id":139467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:54:08] local.INFO: Processing buffer {"connection_id":139467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:54:08] local.INFO: IMEI packet received {"connection_id":139467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":139467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:54:09] local.INFO: TCP Data received {"connection_id":139467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:54:09] local.INFO: Processing buffer {"connection_id":139467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:54:09] local.INFO: Packet analysis {"connection_id":139467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:54:09] local.INFO: Extracted packet for processing {"connection_id":139467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:54:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:54:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":139467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:54:09] local.INFO: GPS data processed {"connection_id":139467,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:54:09] local.INFO: Acknowledgment sent {"connection_id":139467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:54:40] local.INFO: TCP Data received {"connection_id":139467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:54:40] local.INFO: Processing buffer {"connection_id":139467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:54:40] local.INFO: Packet analysis {"connection_id":139467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:54:40] local.INFO: Extracted packet for processing {"connection_id":139467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:54:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:54:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":139467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:54:40] local.INFO: GPS data processed {"connection_id":139467,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:54:40] local.INFO: Acknowledgment sent {"connection_id":139467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:55:03] local.INFO: TCP Data received {"connection_id":139468,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:55:03] local.INFO: Processing buffer {"connection_id":139468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:55:03] local.INFO: IMEI packet received {"connection_id":139468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":139468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:55:08] local.INFO: TCP Data received {"connection_id":139468,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:55:08] local.INFO: Processing buffer {"connection_id":139468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:55:08] local.INFO: IMEI packet received {"connection_id":139468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":139468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:55:09] local.INFO: TCP Data received {"connection_id":139468,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:55:09] local.INFO: Processing buffer {"connection_id":139468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:55:09] local.INFO: Packet analysis {"connection_id":139468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:55:09] local.INFO: Extracted packet for processing {"connection_id":139468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:55:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:55:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:55:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:55:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:55:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":139468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:55:09] local.INFO: GPS data processed {"connection_id":139468,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:55:09] local.INFO: Acknowledgment sent {"connection_id":139468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:55:40] local.INFO: TCP Data received {"connection_id":139468,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:55:40] local.INFO: Processing buffer {"connection_id":139468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:55:40] local.INFO: Packet analysis {"connection_id":139468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:55:40] local.INFO: Extracted packet for processing {"connection_id":139468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:55:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:55:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":139468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:55:40] local.INFO: GPS data processed {"connection_id":139468,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:55:40] local.INFO: Acknowledgment sent {"connection_id":139468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:56:03] local.INFO: TCP Data received {"connection_id":141815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:56:03] local.INFO: Processing buffer {"connection_id":141815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:56:03] local.INFO: IMEI packet received {"connection_id":141815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":141815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:56:08] local.INFO: TCP Data received {"connection_id":141815,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:56:08] local.INFO: Processing buffer {"connection_id":141815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:56:08] local.INFO: IMEI packet received {"connection_id":141815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":141815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:56:09] local.INFO: TCP Data received {"connection_id":141815,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:56:09] local.INFO: Processing buffer {"connection_id":141815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:56:09] local.INFO: Packet analysis {"connection_id":141815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:56:09] local.INFO: Extracted packet for processing {"connection_id":141815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:56:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:56:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":141815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:56:09] local.INFO: GPS data processed {"connection_id":141815,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:56:09] local.INFO: Acknowledgment sent {"connection_id":141815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:56:40] local.INFO: TCP Data received {"connection_id":141815,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:56:40] local.INFO: Processing buffer {"connection_id":141815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb46438012cb29bc007823b400045003824..."} 
[2026-07-23 02:56:40] local.INFO: Packet analysis {"connection_id":141815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:56:40] local.INFO: Extracted packet for processing {"connection_id":141815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb4"} 
[2026-07-23 02:56:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897275392001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755283000,"timestamp_ms":1784755283000,"timestamp_seconds":1784755283,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb46438"} 
[2026-07-23 02:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897275392001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897275392001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:56:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:56:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:56:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897275392001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":141815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:56:40] local.INFO: GPS data processed {"connection_id":141815,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:56:40] local.INFO: Acknowledgment sent {"connection_id":141815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:57:02] local.INFO: TCP Data received {"connection_id":139469,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:02] local.INFO: Processing buffer {"connection_id":139469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:02] local.INFO: IMEI packet received {"connection_id":139469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":139469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:57:03] local.INFO: TCP Data received {"connection_id":139469,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:03] local.INFO: Processing buffer {"connection_id":139469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:03] local.INFO: IMEI packet received {"connection_id":139469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":139469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:57:08] local.INFO: TCP Data received {"connection_id":139469,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:08] local.INFO: Processing buffer {"connection_id":139469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:57:08] local.INFO: IMEI packet received {"connection_id":139469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":139469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:57:09] local.INFO: TCP Data received {"connection_id":139469,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:57:09] local.INFO: Processing buffer {"connection_id":139469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:57:09] local.INFO: Packet analysis {"connection_id":139469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:57:09] local.INFO: Extracted packet for processing {"connection_id":139469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 02:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:57:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":139469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:57:09] local.INFO: GPS data processed {"connection_id":139469,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:57:09] local.INFO: Acknowledgment sent {"connection_id":139469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:57:40] local.INFO: TCP Data received {"connection_id":139469,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:57:40] local.INFO: Processing buffer {"connection_id":139469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:57:40] local.INFO: Packet analysis {"connection_id":139469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:57:40] local.INFO: Extracted packet for processing {"connection_id":139469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 02:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:57:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":139469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:57:40] local.INFO: GPS data processed {"connection_id":139469,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:57:40] local.INFO: Acknowledgment sent {"connection_id":139469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:58:03] local.INFO: TCP Data received {"connection_id":141816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:58:03] local.INFO: Processing buffer {"connection_id":141816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:58:03] local.INFO: IMEI packet received {"connection_id":141816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":141816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:58:08] local.INFO: TCP Data received {"connection_id":141816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:58:08] local.INFO: Processing buffer {"connection_id":141816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:58:08] local.INFO: IMEI packet received {"connection_id":141816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":141816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:58:09] local.INFO: TCP Data received {"connection_id":141816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:58:09] local.INFO: Processing buffer {"connection_id":141816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:58:09] local.INFO: Packet analysis {"connection_id":141816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:58:09] local.INFO: Extracted packet for processing {"connection_id":141816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:58:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 02:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:58:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":141816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:58:09] local.INFO: GPS data processed {"connection_id":141816,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:58:09] local.INFO: Acknowledgment sent {"connection_id":141816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:58:40] local.INFO: TCP Data received {"connection_id":141816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:58:40] local.INFO: Processing buffer {"connection_id":141816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:58:40] local.INFO: Packet analysis {"connection_id":141816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:58:40] local.INFO: Extracted packet for processing {"connection_id":141816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:58:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 02:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:58:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":141816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:58:40] local.INFO: GPS data processed {"connection_id":141816,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:58:40] local.INFO: Acknowledgment sent {"connection_id":141816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:59:03] local.INFO: TCP Data received {"connection_id":139415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:59:03] local.INFO: Processing buffer {"connection_id":139415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:59:03] local.INFO: IMEI packet received {"connection_id":139415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 02:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":139415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 02:59:08] local.INFO: TCP Data received {"connection_id":139415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:59:08] local.INFO: Processing buffer {"connection_id":139415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 02:59:08] local.INFO: IMEI packet received {"connection_id":139415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 02:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":139415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 02:59:09] local.INFO: TCP Data received {"connection_id":139415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:59:09] local.INFO: Processing buffer {"connection_id":139415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:59:09] local.INFO: Packet analysis {"connection_id":139415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:59:09] local.INFO: Extracted packet for processing {"connection_id":139415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:59:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02: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-07-23 02:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 02:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02: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-07-23 02:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:59:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":139415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:59:09] local.INFO: GPS data processed {"connection_id":139415,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:59:09] local.INFO: Acknowledgment sent {"connection_id":139415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 02:59:40] local.INFO: TCP Data received {"connection_id":139415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:59:40] local.INFO: Processing buffer {"connection_id":139415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 02:59:40] local.INFO: Packet analysis {"connection_id":139415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:59:40] local.INFO: Extracted packet for processing {"connection_id":139415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 02:59:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 02:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 02:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 02:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 02:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 02:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 02:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 02:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 02:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 02:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 02:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 02:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 02:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 02:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 02:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 02:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 02:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 02:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 02:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 02:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 02:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 02:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 02:59:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 02:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 02:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 02:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 02:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 02:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":139415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 02:59:40] local.INFO: GPS data processed {"connection_id":139415,"processed":1,"errors":0,"total":1} 
[2026-07-23 02:59:40] local.INFO: Acknowledgment sent {"connection_id":139415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:00:03] local.INFO: TCP Data received {"connection_id":140470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:00:03] local.INFO: Processing buffer {"connection_id":140470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:00:03] local.INFO: IMEI packet received {"connection_id":140470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":140470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:00:08] local.INFO: TCP Data received {"connection_id":140470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:00:08] local.INFO: Processing buffer {"connection_id":140470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:00:08] local.INFO: IMEI packet received {"connection_id":140470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":140470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:00:09] local.INFO: TCP Data received {"connection_id":140470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:00:09] local.INFO: Processing buffer {"connection_id":140470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:00:09] local.INFO: Packet analysis {"connection_id":140470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:00:09] local.INFO: Extracted packet for processing {"connection_id":140470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:00:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 03:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:00:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":140470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:00:09] local.INFO: GPS data processed {"connection_id":140470,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:00:09] local.INFO: Acknowledgment sent {"connection_id":140470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:00:40] local.INFO: TCP Data received {"connection_id":140470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:00:40] local.INFO: Processing buffer {"connection_id":140470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:00:40] local.INFO: Packet analysis {"connection_id":140470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:00:40] local.INFO: Extracted packet for processing {"connection_id":140470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:00:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 03:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":140470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:00:40] local.INFO: GPS data processed {"connection_id":140470,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:00:40] local.INFO: Acknowledgment sent {"connection_id":140470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:01:03] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:01:03] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:01:03] local.INFO: IMEI packet received {"connection_id":139416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":139416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:01:08] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:01:08] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:01:08] local.INFO: IMEI packet received {"connection_id":139416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":139416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:01:09] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:01:09] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:01:09] local.INFO: Packet analysis {"connection_id":139416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:01:09] local.INFO: Extracted packet for processing {"connection_id":139416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:01:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 03:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:01:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":139416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:01:09] local.INFO: GPS data processed {"connection_id":139416,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:01:09] local.INFO: Acknowledgment sent {"connection_id":139416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:01:40] local.INFO: TCP Data received {"connection_id":139416,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:01:40] local.INFO: Processing buffer {"connection_id":139416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bb8fc00012cb29bc007823b400046003826..."} 
[2026-07-23 03:01:40] local.INFO: Packet analysis {"connection_id":139416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:01:40] local.INFO: Extracted packet for processing {"connection_id":139416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bb8"} 
[2026-07-23 03:01:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897352448001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755584000,"timestamp_ms":1784755584000,"timestamp_seconds":1784755584,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bb8fc00"} 
[2026-07-23 03:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897352448001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897352448001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:01:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897352448001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":139416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:01:40] local.INFO: GPS data processed {"connection_id":139416,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:01:40] local.INFO: Acknowledgment sent {"connection_id":139416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:02:03] local.INFO: TCP Data received {"connection_id":139470,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:03] local.INFO: Processing buffer {"connection_id":139470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:03] local.INFO: IMEI packet received {"connection_id":139470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":139470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:02:03] local.INFO: TCP Data received {"connection_id":139470,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:03] local.INFO: Processing buffer {"connection_id":139470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:03] local.INFO: IMEI packet received {"connection_id":139470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":139470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:02:08] local.INFO: TCP Data received {"connection_id":139470,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:08] local.INFO: Processing buffer {"connection_id":139470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:02:08] local.INFO: IMEI packet received {"connection_id":139470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":139470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:02:09] local.INFO: TCP Data received {"connection_id":139470,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:02:09] local.INFO: Processing buffer {"connection_id":139470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:02:09] local.INFO: Packet analysis {"connection_id":139470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:02:09] local.INFO: Extracted packet for processing {"connection_id":139470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:02:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:02:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":139470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:02:09] local.INFO: GPS data processed {"connection_id":139470,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:02:09] local.INFO: Acknowledgment sent {"connection_id":139470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:02:40] local.INFO: TCP Data received {"connection_id":139470,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:02:40] local.INFO: Processing buffer {"connection_id":139470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:02:40] local.INFO: Packet analysis {"connection_id":139470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:02:40] local.INFO: Extracted packet for processing {"connection_id":139470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:02:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:02:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:02:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":139470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:02:40] local.INFO: GPS data processed {"connection_id":139470,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:02:40] local.INFO: Acknowledgment sent {"connection_id":139470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:03:03] local.INFO: TCP Data received {"connection_id":141817,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:03:03] local.INFO: Processing buffer {"connection_id":141817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:03:03] local.INFO: IMEI packet received {"connection_id":141817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":141817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:03:08] local.INFO: TCP Data received {"connection_id":141817,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:03:08] local.INFO: Processing buffer {"connection_id":141817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:03:08] local.INFO: IMEI packet received {"connection_id":141817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":141817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:03:09] local.INFO: TCP Data received {"connection_id":141817,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:03:09] local.INFO: Processing buffer {"connection_id":141817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:03:09] local.INFO: Packet analysis {"connection_id":141817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:03:09] local.INFO: Extracted packet for processing {"connection_id":141817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:03:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:03:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":141817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:03:09] local.INFO: GPS data processed {"connection_id":141817,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:03:09] local.INFO: Acknowledgment sent {"connection_id":141817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:03:40] local.INFO: TCP Data received {"connection_id":141817,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:03:40] local.INFO: Processing buffer {"connection_id":141817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:03:40] local.INFO: Packet analysis {"connection_id":141817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:03:40] local.INFO: Extracted packet for processing {"connection_id":141817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:03:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":141817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:03:40] local.INFO: GPS data processed {"connection_id":141817,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:03:40] local.INFO: Acknowledgment sent {"connection_id":141817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:04:03] local.INFO: TCP Data received {"connection_id":141818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:04:03] local.INFO: Processing buffer {"connection_id":141818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:04:03] local.INFO: IMEI packet received {"connection_id":141818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":141818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:04:08] local.INFO: TCP Data received {"connection_id":141818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:04:08] local.INFO: Processing buffer {"connection_id":141818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:04:08] local.INFO: IMEI packet received {"connection_id":141818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":141818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:04:09] local.INFO: TCP Data received {"connection_id":141818,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:04:09] local.INFO: Processing buffer {"connection_id":141818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:04:09] local.INFO: Packet analysis {"connection_id":141818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:04:09] local.INFO: Extracted packet for processing {"connection_id":141818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:04:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:04:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":141818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:04:09] local.INFO: GPS data processed {"connection_id":141818,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:04:09] local.INFO: Acknowledgment sent {"connection_id":141818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:04:40] local.INFO: TCP Data received {"connection_id":141818,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:04:40] local.INFO: Processing buffer {"connection_id":141818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:04:40] local.INFO: Packet analysis {"connection_id":141818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:04:40] local.INFO: Extracted packet for processing {"connection_id":141818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":141818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:04:40] local.INFO: GPS data processed {"connection_id":141818,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:04:40] local.INFO: Acknowledgment sent {"connection_id":141818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:05:03] local.INFO: TCP Data received {"connection_id":139471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:05:03] local.INFO: Processing buffer {"connection_id":139471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:05:03] local.INFO: IMEI packet received {"connection_id":139471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":139471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:05:08] local.INFO: TCP Data received {"connection_id":139471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:05:08] local.INFO: Processing buffer {"connection_id":139471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:05:08] local.INFO: IMEI packet received {"connection_id":139471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":139471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:05:09] local.INFO: TCP Data received {"connection_id":139471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:05:09] local.INFO: Processing buffer {"connection_id":139471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:05:09] local.INFO: Packet analysis {"connection_id":139471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:05:09] local.INFO: Extracted packet for processing {"connection_id":139471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:05:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:05:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":139471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:05:09] local.INFO: GPS data processed {"connection_id":139471,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:05:09] local.INFO: Acknowledgment sent {"connection_id":139471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:05:40] local.INFO: TCP Data received {"connection_id":139471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:05:40] local.INFO: Processing buffer {"connection_id":139471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:05:40] local.INFO: Packet analysis {"connection_id":139471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:05:40] local.INFO: Extracted packet for processing {"connection_id":139471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:05:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:05:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":139471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:05:40] local.INFO: GPS data processed {"connection_id":139471,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:05:40] local.INFO: Acknowledgment sent {"connection_id":139471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:06:03] local.INFO: TCP Data received {"connection_id":139472,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:06:03] local.INFO: Processing buffer {"connection_id":139472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:06:03] local.INFO: IMEI packet received {"connection_id":139472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":139472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:06:08] local.INFO: TCP Data received {"connection_id":139472,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:06:08] local.INFO: Processing buffer {"connection_id":139472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:06:08] local.INFO: IMEI packet received {"connection_id":139472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":139472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:06:09] local.INFO: TCP Data received {"connection_id":139472,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:06:09] local.INFO: Processing buffer {"connection_id":139472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:06:09] local.INFO: Packet analysis {"connection_id":139472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:06:09] local.INFO: Extracted packet for processing {"connection_id":139472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:06:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":139472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:06:09] local.INFO: GPS data processed {"connection_id":139472,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:06:09] local.INFO: Acknowledgment sent {"connection_id":139472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:06:40] local.INFO: TCP Data received {"connection_id":139472,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:06:40] local.INFO: Processing buffer {"connection_id":139472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bbd93c8012cb29bc007823b400046003824..."} 
[2026-07-23 03:06:40] local.INFO: Packet analysis {"connection_id":139472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:06:40] local.INFO: Extracted packet for processing {"connection_id":139472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bbd"} 
[2026-07-23 03:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897429504001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784755885000,"timestamp_ms":1784755885000,"timestamp_seconds":1784755885,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bbd93c8"} 
[2026-07-23 03:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897429504001,"66":24212,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897429504001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897429504001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":139472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:06:40] local.INFO: GPS data processed {"connection_id":139472,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:06:40] local.INFO: Acknowledgment sent {"connection_id":139472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:07:03] local.INFO: TCP Data received {"connection_id":139417,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:03] local.INFO: Processing buffer {"connection_id":139417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:03] local.INFO: IMEI packet received {"connection_id":139417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":139417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:07:04] local.INFO: TCP Data received {"connection_id":139417,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:04] local.INFO: Processing buffer {"connection_id":139417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:04] local.INFO: IMEI packet received {"connection_id":139417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":139417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:07:08] local.INFO: TCP Data received {"connection_id":139417,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:08] local.INFO: Processing buffer {"connection_id":139417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:07:08] local.INFO: IMEI packet received {"connection_id":139417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":139417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:07:09] local.INFO: TCP Data received {"connection_id":139417,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:07:09] local.INFO: Processing buffer {"connection_id":139417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:07:09] local.INFO: Packet analysis {"connection_id":139417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:07:09] local.INFO: Extracted packet for processing {"connection_id":139417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:07:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:07:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":139417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:07:09] local.INFO: GPS data processed {"connection_id":139417,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:07:09] local.INFO: Acknowledgment sent {"connection_id":139417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:07:40] local.INFO: TCP Data received {"connection_id":139417,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:07:40] local.INFO: Processing buffer {"connection_id":139417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:07:40] local.INFO: Packet analysis {"connection_id":139417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:07:40] local.INFO: Extracted packet for processing {"connection_id":139417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:07:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:07:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":139417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:07:40] local.INFO: GPS data processed {"connection_id":139417,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:07:40] local.INFO: Acknowledgment sent {"connection_id":139417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:08:03] local.INFO: TCP Data received {"connection_id":141819,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:08:03] local.INFO: Processing buffer {"connection_id":141819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:08:03] local.INFO: IMEI packet received {"connection_id":141819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":141819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:08:08] local.INFO: TCP Data received {"connection_id":141819,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:08:08] local.INFO: Processing buffer {"connection_id":141819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:08:08] local.INFO: IMEI packet received {"connection_id":141819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":141819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:08:09] local.INFO: TCP Data received {"connection_id":141819,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:08:09] local.INFO: Processing buffer {"connection_id":141819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:08:09] local.INFO: Packet analysis {"connection_id":141819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:08:09] local.INFO: Extracted packet for processing {"connection_id":141819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:08:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:08:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":141819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:08:09] local.INFO: GPS data processed {"connection_id":141819,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:08:09] local.INFO: Acknowledgment sent {"connection_id":141819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:08:40] local.INFO: TCP Data received {"connection_id":141819,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:08:40] local.INFO: Processing buffer {"connection_id":141819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:08:40] local.INFO: Packet analysis {"connection_id":141819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:08:40] local.INFO: Extracted packet for processing {"connection_id":141819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:08:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":141819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:08:40] local.INFO: GPS data processed {"connection_id":141819,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:08:40] local.INFO: Acknowledgment sent {"connection_id":141819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:09:03] local.INFO: TCP Data received {"connection_id":141820,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:09:03] local.INFO: Processing buffer {"connection_id":141820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:09:03] local.INFO: IMEI packet received {"connection_id":141820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":141820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:09:08] local.INFO: TCP Data received {"connection_id":141820,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:09:08] local.INFO: Processing buffer {"connection_id":141820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:09:08] local.INFO: IMEI packet received {"connection_id":141820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":141820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:09:09] local.INFO: TCP Data received {"connection_id":141820,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:09:09] local.INFO: Processing buffer {"connection_id":141820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:09:09] local.INFO: Packet analysis {"connection_id":141820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:09:09] local.INFO: Extracted packet for processing {"connection_id":141820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":141820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:09:09] local.INFO: GPS data processed {"connection_id":141820,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:09:09] local.INFO: Acknowledgment sent {"connection_id":141820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:09:40] local.INFO: TCP Data received {"connection_id":141820,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:09:40] local.INFO: Processing buffer {"connection_id":141820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:09:40] local.INFO: Packet analysis {"connection_id":141820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:09:40] local.INFO: Extracted packet for processing {"connection_id":141820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:09:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":141820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:09:40] local.INFO: GPS data processed {"connection_id":141820,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:09:40] local.INFO: Acknowledgment sent {"connection_id":141820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:10:03] local.INFO: TCP Data received {"connection_id":141821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:10:03] local.INFO: Processing buffer {"connection_id":141821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:10:03] local.INFO: IMEI packet received {"connection_id":141821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":141821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:10:08] local.INFO: TCP Data received {"connection_id":141821,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:10:08] local.INFO: Processing buffer {"connection_id":141821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:10:08] local.INFO: IMEI packet received {"connection_id":141821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":141821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:10:09] local.INFO: TCP Data received {"connection_id":141821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:10:09] local.INFO: Processing buffer {"connection_id":141821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:10:09] local.INFO: Packet analysis {"connection_id":141821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:10:09] local.INFO: Extracted packet for processing {"connection_id":141821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:10:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:10:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":141821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:10:09] local.INFO: GPS data processed {"connection_id":141821,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:10:09] local.INFO: Acknowledgment sent {"connection_id":141821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:10:40] local.INFO: TCP Data received {"connection_id":141821,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:10:40] local.INFO: Processing buffer {"connection_id":141821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:10:40] local.INFO: Packet analysis {"connection_id":141821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:10:40] local.INFO: Extracted packet for processing {"connection_id":141821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:10:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":141821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:10:40] local.INFO: GPS data processed {"connection_id":141821,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:10:40] local.INFO: Acknowledgment sent {"connection_id":141821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:11:03] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:11:03] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:11:03] local.INFO: IMEI packet received {"connection_id":139418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":139418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:11:08] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:11:08] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:11:08] local.INFO: IMEI packet received {"connection_id":139418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":139418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:11:09] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:11:09] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:11:09] local.INFO: Packet analysis {"connection_id":139418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:11:09] local.INFO: Extracted packet for processing {"connection_id":139418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:11:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:11:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":139418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:11:09] local.INFO: GPS data processed {"connection_id":139418,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:11:09] local.INFO: Acknowledgment sent {"connection_id":139418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:11:40] local.INFO: TCP Data received {"connection_id":139418,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:11:40] local.INFO: Processing buffer {"connection_id":139418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc22b90012cb29bc007823b400045003824..."} 
[2026-07-23 03:11:40] local.INFO: Packet analysis {"connection_id":139418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:11:40] local.INFO: Extracted packet for processing {"connection_id":139418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc2"} 
[2026-07-23 03:11:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897506560001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756186000,"timestamp_ms":1784756186000,"timestamp_seconds":1784756186,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc22b90"} 
[2026-07-23 03:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-23 03:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897506560001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897506560001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:11:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897506560001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":139418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:11:40] local.INFO: GPS data processed {"connection_id":139418,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:11:40] local.INFO: Acknowledgment sent {"connection_id":139418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:12:03] local.INFO: TCP Data received {"connection_id":139473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:03] local.INFO: Processing buffer {"connection_id":139473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:03] local.INFO: IMEI packet received {"connection_id":139473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":139473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:12:05] local.INFO: TCP Data received {"connection_id":139473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:05] local.INFO: Processing buffer {"connection_id":139473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:05] local.INFO: IMEI packet received {"connection_id":139473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":139473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:12:08] local.INFO: TCP Data received {"connection_id":139473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:08] local.INFO: Processing buffer {"connection_id":139473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:12:08] local.INFO: IMEI packet received {"connection_id":139473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":139473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:12:09] local.INFO: TCP Data received {"connection_id":139473,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:12:09] local.INFO: Processing buffer {"connection_id":139473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:12:09] local.INFO: Packet analysis {"connection_id":139473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:12:09] local.INFO: Extracted packet for processing {"connection_id":139473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:12:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:12:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:12:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:12:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":139473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:12:09] local.INFO: GPS data processed {"connection_id":139473,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:12:09] local.INFO: Acknowledgment sent {"connection_id":139473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:12:40] local.INFO: TCP Data received {"connection_id":139473,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:12:40] local.INFO: Processing buffer {"connection_id":139473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:12:40] local.INFO: Packet analysis {"connection_id":139473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:12:40] local.INFO: Extracted packet for processing {"connection_id":139473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:12:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:12:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":139473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:12:40] local.INFO: GPS data processed {"connection_id":139473,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:12:40] local.INFO: Acknowledgment sent {"connection_id":139473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:13:03] local.INFO: TCP Data received {"connection_id":139419,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:13:03] local.INFO: Processing buffer {"connection_id":139419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:13:03] local.INFO: IMEI packet received {"connection_id":139419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":139419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:13:08] local.INFO: TCP Data received {"connection_id":139419,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:13:08] local.INFO: Processing buffer {"connection_id":139419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:13:08] local.INFO: IMEI packet received {"connection_id":139419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":139419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:13:09] local.INFO: TCP Data received {"connection_id":139419,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:13:09] local.INFO: Processing buffer {"connection_id":139419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:13:09] local.INFO: Packet analysis {"connection_id":139419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:13:09] local.INFO: Extracted packet for processing {"connection_id":139419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:13:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":139419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:13:09] local.INFO: GPS data processed {"connection_id":139419,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:13:09] local.INFO: Acknowledgment sent {"connection_id":139419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:13:40] local.INFO: TCP Data received {"connection_id":139419,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:13:40] local.INFO: Processing buffer {"connection_id":139419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:13:40] local.INFO: Packet analysis {"connection_id":139419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:13:40] local.INFO: Extracted packet for processing {"connection_id":139419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:13:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":139419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:13:40] local.INFO: GPS data processed {"connection_id":139419,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:13:40] local.INFO: Acknowledgment sent {"connection_id":139419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:14:03] local.INFO: TCP Data received {"connection_id":141822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:14:03] local.INFO: Processing buffer {"connection_id":141822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:14:03] local.INFO: IMEI packet received {"connection_id":141822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":141822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:14:08] local.INFO: TCP Data received {"connection_id":141822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:14:08] local.INFO: Processing buffer {"connection_id":141822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:14:08] local.INFO: IMEI packet received {"connection_id":141822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":141822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:14:09] local.INFO: TCP Data received {"connection_id":141822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:14:09] local.INFO: Processing buffer {"connection_id":141822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:14:09] local.INFO: Packet analysis {"connection_id":141822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:14:09] local.INFO: Extracted packet for processing {"connection_id":141822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:14:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:14:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":141822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:14:09] local.INFO: GPS data processed {"connection_id":141822,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:14:09] local.INFO: Acknowledgment sent {"connection_id":141822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:14:40] local.INFO: TCP Data received {"connection_id":141822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:14:40] local.INFO: Processing buffer {"connection_id":141822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:14:40] local.INFO: Packet analysis {"connection_id":141822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:14:40] local.INFO: Extracted packet for processing {"connection_id":141822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:14:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":141822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:14:40] local.INFO: GPS data processed {"connection_id":141822,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:14:40] local.INFO: Acknowledgment sent {"connection_id":141822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:15:03] local.INFO: TCP Data received {"connection_id":141823,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:15:03] local.INFO: Processing buffer {"connection_id":141823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:15:03] local.INFO: IMEI packet received {"connection_id":141823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":141823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:15:08] local.INFO: TCP Data received {"connection_id":141823,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:15:08] local.INFO: Processing buffer {"connection_id":141823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:15:08] local.INFO: IMEI packet received {"connection_id":141823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":141823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:15:09] local.INFO: TCP Data received {"connection_id":141823,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:15:09] local.INFO: Processing buffer {"connection_id":141823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:15:09] local.INFO: Packet analysis {"connection_id":141823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:15:09] local.INFO: Extracted packet for processing {"connection_id":141823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:15:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:15:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":141823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:15:09] local.INFO: GPS data processed {"connection_id":141823,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:15:09] local.INFO: Acknowledgment sent {"connection_id":141823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:15:40] local.INFO: TCP Data received {"connection_id":141823,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:15:40] local.INFO: Processing buffer {"connection_id":141823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:15:40] local.INFO: Packet analysis {"connection_id":141823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:15:40] local.INFO: Extracted packet for processing {"connection_id":141823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:15:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:15:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":141823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:15:40] local.INFO: GPS data processed {"connection_id":141823,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:15:40] local.INFO: Acknowledgment sent {"connection_id":141823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:16:03] local.INFO: TCP Data received {"connection_id":141824,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:16:03] local.INFO: Processing buffer {"connection_id":141824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:16:03] local.INFO: IMEI packet received {"connection_id":141824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":141824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:16:08] local.INFO: TCP Data received {"connection_id":141824,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:16:08] local.INFO: Processing buffer {"connection_id":141824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:16:08] local.INFO: IMEI packet received {"connection_id":141824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":141824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:16:09] local.INFO: TCP Data received {"connection_id":141824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:16:09] local.INFO: Processing buffer {"connection_id":141824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:16:09] local.INFO: Packet analysis {"connection_id":141824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:16:09] local.INFO: Extracted packet for processing {"connection_id":141824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:16:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:16:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":141824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:16:09] local.INFO: GPS data processed {"connection_id":141824,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:16:09] local.INFO: Acknowledgment sent {"connection_id":141824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:16:40] local.INFO: TCP Data received {"connection_id":141824,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:16:40] local.INFO: Processing buffer {"connection_id":141824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bc6c358012cb29bc007823b400044003825..."} 
[2026-07-23 03:16:40] local.INFO: Packet analysis {"connection_id":141824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:16:40] local.INFO: Extracted packet for processing {"connection_id":141824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bc6"} 
[2026-07-23 03:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897583616001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756487000,"timestamp_ms":1784756487000,"timestamp_seconds":1784756487,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bc6c358"} 
[2026-07-23 03:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897583616001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897583616001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:16:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897583616001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":141824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:16:40] local.INFO: GPS data processed {"connection_id":141824,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:16:40] local.INFO: Acknowledgment sent {"connection_id":141824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:17:03] local.INFO: TCP Data received {"connection_id":139474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:03] local.INFO: Processing buffer {"connection_id":139474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:03] local.INFO: IMEI packet received {"connection_id":139474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":139474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:17:06] local.INFO: TCP Data received {"connection_id":139474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:06] local.INFO: Processing buffer {"connection_id":139474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:06] local.INFO: IMEI packet received {"connection_id":139474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":139474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:17:08] local.INFO: TCP Data received {"connection_id":139474,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:08] local.INFO: Processing buffer {"connection_id":139474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:17:08] local.INFO: IMEI packet received {"connection_id":139474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":139474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:17:08] local.INFO: TCP Data received {"connection_id":139474,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:17:08] local.INFO: Processing buffer {"connection_id":139474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:17:08] local.INFO: Packet analysis {"connection_id":139474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:17:08] local.INFO: Extracted packet for processing {"connection_id":139474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:17:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:17:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":139474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:17:08] local.INFO: GPS data processed {"connection_id":139474,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:17:08] local.INFO: Acknowledgment sent {"connection_id":139474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:17:39] local.INFO: TCP Data received {"connection_id":139474,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:17:39] local.INFO: Processing buffer {"connection_id":139474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:17:39] local.INFO: Packet analysis {"connection_id":139474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:17:39] local.INFO: Extracted packet for processing {"connection_id":139474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:17:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":139474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:17:39] local.INFO: GPS data processed {"connection_id":139474,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:17:39] local.INFO: Acknowledgment sent {"connection_id":139474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:18:03] local.INFO: TCP Data received {"connection_id":141825,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:18:03] local.INFO: Processing buffer {"connection_id":141825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:18:03] local.INFO: IMEI packet received {"connection_id":141825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":141825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:18:08] local.INFO: TCP Data received {"connection_id":141825,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:18:08] local.INFO: Processing buffer {"connection_id":141825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:18:08] local.INFO: IMEI packet received {"connection_id":141825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":141825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:18:09] local.INFO: TCP Data received {"connection_id":141825,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:18:09] local.INFO: Processing buffer {"connection_id":141825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:18:09] local.INFO: Packet analysis {"connection_id":141825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:18:09] local.INFO: Extracted packet for processing {"connection_id":141825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:18:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:18:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:18:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:18:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:18:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":141825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:18:09] local.INFO: GPS data processed {"connection_id":141825,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:18:09] local.INFO: Acknowledgment sent {"connection_id":141825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:18:40] local.INFO: TCP Data received {"connection_id":141825,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:18:40] local.INFO: Processing buffer {"connection_id":141825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:18:40] local.INFO: Packet analysis {"connection_id":141825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:18:40] local.INFO: Extracted packet for processing {"connection_id":141825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:18:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:18:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":141825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:18:40] local.INFO: GPS data processed {"connection_id":141825,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:18:40] local.INFO: Acknowledgment sent {"connection_id":141825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:19:03] local.INFO: TCP Data received {"connection_id":141826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:19:03] local.INFO: Processing buffer {"connection_id":141826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:19:03] local.INFO: IMEI packet received {"connection_id":141826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":141826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:19:08] local.INFO: TCP Data received {"connection_id":141826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:19:08] local.INFO: Processing buffer {"connection_id":141826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:19:08] local.INFO: IMEI packet received {"connection_id":141826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":141826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:19:09] local.INFO: TCP Data received {"connection_id":141826,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:19:09] local.INFO: Processing buffer {"connection_id":141826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:19:09] local.INFO: Packet analysis {"connection_id":141826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:19:09] local.INFO: Extracted packet for processing {"connection_id":141826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:19:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:19:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":141826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:19:09] local.INFO: GPS data processed {"connection_id":141826,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:19:09] local.INFO: Acknowledgment sent {"connection_id":141826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:19:40] local.INFO: TCP Data received {"connection_id":141826,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:19:40] local.INFO: Processing buffer {"connection_id":141826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:19:40] local.INFO: Packet analysis {"connection_id":141826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:19:40] local.INFO: Extracted packet for processing {"connection_id":141826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:19:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:19:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":141826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:19:40] local.INFO: GPS data processed {"connection_id":141826,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:19:40] local.INFO: Acknowledgment sent {"connection_id":141826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:20:03] local.INFO: TCP Data received {"connection_id":140471,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:20:03] local.INFO: Processing buffer {"connection_id":140471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:20:03] local.INFO: IMEI packet received {"connection_id":140471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":140471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:20:08] local.INFO: TCP Data received {"connection_id":140471,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:20:08] local.INFO: Processing buffer {"connection_id":140471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:20:08] local.INFO: IMEI packet received {"connection_id":140471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":140471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:20:09] local.INFO: TCP Data received {"connection_id":140471,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:20:09] local.INFO: Processing buffer {"connection_id":140471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:20:09] local.INFO: Packet analysis {"connection_id":140471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:20:09] local.INFO: Extracted packet for processing {"connection_id":140471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:20:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:20:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":140471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:20:09] local.INFO: GPS data processed {"connection_id":140471,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:20:09] local.INFO: Acknowledgment sent {"connection_id":140471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:20:40] local.INFO: TCP Data received {"connection_id":140471,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:20:40] local.INFO: Processing buffer {"connection_id":140471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:20:40] local.INFO: Packet analysis {"connection_id":140471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:20:40] local.INFO: Extracted packet for processing {"connection_id":140471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:20:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":140471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:20:40] local.INFO: GPS data processed {"connection_id":140471,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:20:40] local.INFO: Acknowledgment sent {"connection_id":140471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:21:03] local.INFO: TCP Data received {"connection_id":139420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:21:03] local.INFO: Processing buffer {"connection_id":139420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:21:03] local.INFO: IMEI packet received {"connection_id":139420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":139420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:21:08] local.INFO: TCP Data received {"connection_id":139420,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:21:08] local.INFO: Processing buffer {"connection_id":139420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:21:08] local.INFO: IMEI packet received {"connection_id":139420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":139420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:21:09] local.INFO: TCP Data received {"connection_id":139420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:21:09] local.INFO: Processing buffer {"connection_id":139420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:21:09] local.INFO: Packet analysis {"connection_id":139420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:21:09] local.INFO: Extracted packet for processing {"connection_id":139420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:21:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:21:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":139420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:21:09] local.INFO: GPS data processed {"connection_id":139420,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:21:09] local.INFO: Acknowledgment sent {"connection_id":139420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:21:40] local.INFO: TCP Data received {"connection_id":139420,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:21:40] local.INFO: Processing buffer {"connection_id":139420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcb5b20012cb29bc007823b400046003824..."} 
[2026-07-23 03:21:40] local.INFO: Packet analysis {"connection_id":139420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:21:40] local.INFO: Extracted packet for processing {"connection_id":139420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcb"} 
[2026-07-23 03:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897660672001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784756788000,"timestamp_ms":1784756788000,"timestamp_seconds":1784756788,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcb5b20"} 
[2026-07-23 03:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897660672001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897660672001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:21:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897660672001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":139420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:21:40] local.INFO: GPS data processed {"connection_id":139420,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:21:40] local.INFO: Acknowledgment sent {"connection_id":139420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:22:03] local.INFO: TCP Data received {"connection_id":140472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:03] local.INFO: Processing buffer {"connection_id":140472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:03] local.INFO: IMEI packet received {"connection_id":140472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":140472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:22:07] local.INFO: TCP Data received {"connection_id":140472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:07] local.INFO: Processing buffer {"connection_id":140472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:07] local.INFO: IMEI packet received {"connection_id":140472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":140472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:22:08] local.INFO: TCP Data received {"connection_id":140472,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:08] local.INFO: Processing buffer {"connection_id":140472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:22:08] local.INFO: IMEI packet received {"connection_id":140472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":140472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:22:08] local.INFO: TCP Data received {"connection_id":140472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:08] local.INFO: Processing buffer {"connection_id":140472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:08] local.INFO: Packet analysis {"connection_id":140472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:22:08] local.INFO: Extracted packet for processing {"connection_id":140472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:22:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:22:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:22:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":140472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:22:08] local.INFO: GPS data processed {"connection_id":140472,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:22:08] local.INFO: Acknowledgment sent {"connection_id":140472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:22:13] local.INFO: TCP Data received {"connection_id":140472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:13] local.INFO: Processing buffer {"connection_id":140472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:13] local.INFO: Packet analysis {"connection_id":140472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:22:13] local.INFO: Extracted packet for processing {"connection_id":140472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:22:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":140472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:22:13] local.INFO: GPS data processed {"connection_id":140472,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:22:13] local.INFO: Acknowledgment sent {"connection_id":140472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:22:44] local.INFO: TCP Data received {"connection_id":140472,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:44] local.INFO: Processing buffer {"connection_id":140472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:22:44] local.INFO: Packet analysis {"connection_id":140472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:22:44] local.INFO: Extracted packet for processing {"connection_id":140472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:22:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":140472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:22:44] local.INFO: GPS data processed {"connection_id":140472,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:22:44] local.INFO: Acknowledgment sent {"connection_id":140472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:23:03] local.INFO: TCP Data received {"connection_id":141827,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:23:03] local.INFO: Processing buffer {"connection_id":141827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:23:03] local.INFO: IMEI packet received {"connection_id":141827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":141827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:23:08] local.INFO: TCP Data received {"connection_id":141827,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:23:08] local.INFO: Processing buffer {"connection_id":141827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:23:08] local.INFO: IMEI packet received {"connection_id":141827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":141827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:23:09] local.INFO: TCP Data received {"connection_id":141827,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:23:09] local.INFO: Processing buffer {"connection_id":141827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:23:09] local.INFO: Packet analysis {"connection_id":141827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:23:09] local.INFO: Extracted packet for processing {"connection_id":141827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:23:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:23:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:23:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:23:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":141827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:23:09] local.INFO: GPS data processed {"connection_id":141827,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:23:09] local.INFO: Acknowledgment sent {"connection_id":141827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:23:40] local.INFO: TCP Data received {"connection_id":141827,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:23:40] local.INFO: Processing buffer {"connection_id":141827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:23:40] local.INFO: Packet analysis {"connection_id":141827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:23:40] local.INFO: Extracted packet for processing {"connection_id":141827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:23:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:23:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:23:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:23:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":141827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:23:40] local.INFO: GPS data processed {"connection_id":141827,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:23:40] local.INFO: Acknowledgment sent {"connection_id":141827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:24:03] local.INFO: TCP Data received {"connection_id":139475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:24:03] local.INFO: Processing buffer {"connection_id":139475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:24:03] local.INFO: IMEI packet received {"connection_id":139475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":139475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:24:08] local.INFO: TCP Data received {"connection_id":139475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:24:08] local.INFO: Processing buffer {"connection_id":139475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:24:08] local.INFO: IMEI packet received {"connection_id":139475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":139475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:24:09] local.INFO: TCP Data received {"connection_id":139475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:24:09] local.INFO: Processing buffer {"connection_id":139475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:24:09] local.INFO: Packet analysis {"connection_id":139475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:24:09] local.INFO: Extracted packet for processing {"connection_id":139475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:24:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:24:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:24:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:24:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":139475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:24:09] local.INFO: GPS data processed {"connection_id":139475,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:24:09] local.INFO: Acknowledgment sent {"connection_id":139475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:24:41] local.INFO: TCP Data received {"connection_id":139475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:24:41] local.INFO: Processing buffer {"connection_id":139475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:24:41] local.INFO: Packet analysis {"connection_id":139475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:24:41] local.INFO: Extracted packet for processing {"connection_id":139475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":139475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":139475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":139475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:24:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":139475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:24:41] local.INFO: GPS data processed {"connection_id":139475,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:24:41] local.INFO: Acknowledgment sent {"connection_id":139475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:25:03] local.INFO: TCP Data received {"connection_id":141828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:25:03] local.INFO: Processing buffer {"connection_id":141828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:25:03] local.INFO: IMEI packet received {"connection_id":141828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":141828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:25:08] local.INFO: TCP Data received {"connection_id":141828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:25:08] local.INFO: Processing buffer {"connection_id":141828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:25:08] local.INFO: IMEI packet received {"connection_id":141828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":141828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:25:09] local.INFO: TCP Data received {"connection_id":141828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:25:09] local.INFO: Processing buffer {"connection_id":141828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:25:09] local.INFO: Packet analysis {"connection_id":141828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:25:09] local.INFO: Extracted packet for processing {"connection_id":141828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:25:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:25:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":141828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:25:09] local.INFO: GPS data processed {"connection_id":141828,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:25:09] local.INFO: Acknowledgment sent {"connection_id":141828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:25:40] local.INFO: TCP Data received {"connection_id":141828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:25:40] local.INFO: Processing buffer {"connection_id":141828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:25:40] local.INFO: Packet analysis {"connection_id":141828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:25:40] local.INFO: Extracted packet for processing {"connection_id":141828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:25:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:25:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":141828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:25:40] local.INFO: GPS data processed {"connection_id":141828,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:25:40] local.INFO: Acknowledgment sent {"connection_id":141828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:26:03] local.INFO: TCP Data received {"connection_id":141829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:26:03] local.INFO: Processing buffer {"connection_id":141829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:26:03] local.INFO: IMEI packet received {"connection_id":141829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":141829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:26:08] local.INFO: TCP Data received {"connection_id":141829,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:26:08] local.INFO: Processing buffer {"connection_id":141829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:26:08] local.INFO: IMEI packet received {"connection_id":141829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":141829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:26:09] local.INFO: TCP Data received {"connection_id":141829,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:26:09] local.INFO: Processing buffer {"connection_id":141829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:26:09] local.INFO: Packet analysis {"connection_id":141829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:26:09] local.INFO: Extracted packet for processing {"connection_id":141829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:26:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:26:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":141829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:26:09] local.INFO: GPS data processed {"connection_id":141829,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:26:09] local.INFO: Acknowledgment sent {"connection_id":141829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:26:40] local.INFO: TCP Data received {"connection_id":141829,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:26:40] local.INFO: Processing buffer {"connection_id":141829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bcff2e8012cb29bc007823b400047003825..."} 
[2026-07-23 03:26:40] local.INFO: Packet analysis {"connection_id":141829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:26:40] local.INFO: Extracted packet for processing {"connection_id":141829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bcf"} 
[2026-07-23 03:26:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897737728001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757089000,"timestamp_ms":1784757089000,"timestamp_seconds":1784757089,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bcff2e8"} 
[2026-07-23 03:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897737728001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897737728001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:26:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897737728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":141829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:26:40] local.INFO: GPS data processed {"connection_id":141829,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:26:40] local.INFO: Acknowledgment sent {"connection_id":141829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:27:02] local.INFO: TCP Data received {"connection_id":139476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:27:02] local.INFO: Processing buffer {"connection_id":139476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:27:02] local.INFO: IMEI packet received {"connection_id":139476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":139476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:27:08] local.INFO: TCP Data received {"connection_id":139476,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:27:08] local.INFO: Processing buffer {"connection_id":139476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:27:08] local.INFO: IMEI packet received {"connection_id":139476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":139476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:27:09] local.INFO: TCP Data received {"connection_id":139476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:27:09] local.INFO: Processing buffer {"connection_id":139476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:27:09] local.INFO: Packet analysis {"connection_id":139476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:27:09] local.INFO: Extracted packet for processing {"connection_id":139476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:27:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:27:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:27:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:27:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:27:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":139476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:27:09] local.INFO: GPS data processed {"connection_id":139476,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:27:09] local.INFO: Acknowledgment sent {"connection_id":139476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:27:39] local.INFO: TCP Data received {"connection_id":139476,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:27:39] local.INFO: Processing buffer {"connection_id":139476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:27:39] local.INFO: Packet analysis {"connection_id":139476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:27:39] local.INFO: Extracted packet for processing {"connection_id":139476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:27:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:27:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":139476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:27:39] local.INFO: GPS data processed {"connection_id":139476,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:27:39] local.INFO: Acknowledgment sent {"connection_id":139476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:28:03] local.INFO: TCP Data received {"connection_id":140473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:28:03] local.INFO: Processing buffer {"connection_id":140473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:28:03] local.INFO: IMEI packet received {"connection_id":140473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":140473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:28:08] local.INFO: TCP Data received {"connection_id":140473,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:28:08] local.INFO: Processing buffer {"connection_id":140473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:28:08] local.INFO: IMEI packet received {"connection_id":140473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":140473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:28:14] local.INFO: TCP Data received {"connection_id":140473,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:28:14] local.INFO: Processing buffer {"connection_id":140473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:28:14] local.INFO: Packet analysis {"connection_id":140473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:28:14] local.INFO: Extracted packet for processing {"connection_id":140473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:28:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:28: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-07-23 03:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:28:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:28:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:28:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":140473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:28:14] local.INFO: GPS data processed {"connection_id":140473,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:28:14] local.INFO: Acknowledgment sent {"connection_id":140473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:28:45] local.INFO: TCP Data received {"connection_id":140473,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:28:45] local.INFO: Processing buffer {"connection_id":140473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:28:45] local.INFO: Packet analysis {"connection_id":140473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:28:45] local.INFO: Extracted packet for processing {"connection_id":140473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:28:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:28:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:28: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-07-23 03:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":140473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":140473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":140473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:28:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:28:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:28:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":140473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:28:45] local.INFO: GPS data processed {"connection_id":140473,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:28:45] local.INFO: Acknowledgment sent {"connection_id":140473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:29:03] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:29:03] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:29:03] local.INFO: IMEI packet received {"connection_id":139421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":139421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:29:08] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:29:08] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:29:08] local.INFO: IMEI packet received {"connection_id":139421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":139421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:29:09] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:29:09] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:29:09] local.INFO: Packet analysis {"connection_id":139421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:29:09] local.INFO: Extracted packet for processing {"connection_id":139421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:29:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:29:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":139421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:29:09] local.INFO: GPS data processed {"connection_id":139421,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:29:09] local.INFO: Acknowledgment sent {"connection_id":139421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:29:40] local.INFO: TCP Data received {"connection_id":139421,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:29:40] local.INFO: Processing buffer {"connection_id":139421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:29:40] local.INFO: Packet analysis {"connection_id":139421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:29:40] local.INFO: Extracted packet for processing {"connection_id":139421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:29:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":139421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:29:40] local.INFO: GPS data processed {"connection_id":139421,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:29:40] local.INFO: Acknowledgment sent {"connection_id":139421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:30:03] local.INFO: TCP Data received {"connection_id":140474,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:30:03] local.INFO: Processing buffer {"connection_id":140474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:30:03] local.INFO: IMEI packet received {"connection_id":140474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":140474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:30:08] local.INFO: TCP Data received {"connection_id":140474,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:30:08] local.INFO: Processing buffer {"connection_id":140474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:30:08] local.INFO: IMEI packet received {"connection_id":140474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":140474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:30:09] local.INFO: TCP Data received {"connection_id":140474,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:30:09] local.INFO: Processing buffer {"connection_id":140474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:30:09] local.INFO: Packet analysis {"connection_id":140474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:30:09] local.INFO: Extracted packet for processing {"connection_id":140474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:30:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:30:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":140474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:30:09] local.INFO: GPS data processed {"connection_id":140474,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:30:09] local.INFO: Acknowledgment sent {"connection_id":140474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:30:40] local.INFO: TCP Data received {"connection_id":140474,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:30:40] local.INFO: Processing buffer {"connection_id":140474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:30:40] local.INFO: Packet analysis {"connection_id":140474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:30:40] local.INFO: Extracted packet for processing {"connection_id":140474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:30:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":140474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:30:40] local.INFO: GPS data processed {"connection_id":140474,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:30:40] local.INFO: Acknowledgment sent {"connection_id":140474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:31:03] local.INFO: TCP Data received {"connection_id":139422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:31:03] local.INFO: Processing buffer {"connection_id":139422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:31:03] local.INFO: IMEI packet received {"connection_id":139422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":139422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:31:08] local.INFO: TCP Data received {"connection_id":139422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:31:08] local.INFO: Processing buffer {"connection_id":139422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:31:08] local.INFO: IMEI packet received {"connection_id":139422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":139422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:31:09] local.INFO: TCP Data received {"connection_id":139422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:31:09] local.INFO: Processing buffer {"connection_id":139422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:31:09] local.INFO: Packet analysis {"connection_id":139422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:31:09] local.INFO: Extracted packet for processing {"connection_id":139422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:31:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:31:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:31:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:31:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:31:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":139422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:31:09] local.INFO: GPS data processed {"connection_id":139422,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:31:09] local.INFO: Acknowledgment sent {"connection_id":139422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:31:39] local.INFO: TCP Data received {"connection_id":139422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:31:39] local.INFO: Processing buffer {"connection_id":139422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:31:39] local.INFO: Packet analysis {"connection_id":139422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:31:39] local.INFO: Extracted packet for processing {"connection_id":139422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:31:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":139422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:31:39] local.INFO: GPS data processed {"connection_id":139422,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:31:39] local.INFO: Acknowledgment sent {"connection_id":139422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:32:03] local.INFO: TCP Data received {"connection_id":141830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:32:03] local.INFO: Processing buffer {"connection_id":141830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:32:03] local.INFO: IMEI packet received {"connection_id":141830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":141830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:32:08] local.INFO: TCP Data received {"connection_id":141830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:32:08] local.INFO: Processing buffer {"connection_id":141830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:32:08] local.INFO: IMEI packet received {"connection_id":141830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":141830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:32:09] local.INFO: TCP Data received {"connection_id":141830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:32:09] local.INFO: Processing buffer {"connection_id":141830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd48ab0012cb29bc007823b400045003828..."} 
[2026-07-23 03:32:09] local.INFO: Packet analysis {"connection_id":141830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:32:09] local.INFO: Extracted packet for processing {"connection_id":141830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd4"} 
[2026-07-23 03:32:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897814784001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757390000,"timestamp_ms":1784757390000,"timestamp_seconds":1784757390,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd48ab0"} 
[2026-07-23 03:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897814784001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897814784001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:32:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897814784001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":141830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:32:09] local.INFO: GPS data processed {"connection_id":141830,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:32:09] local.INFO: Acknowledgment sent {"connection_id":141830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:32:40] local.INFO: TCP Data received {"connection_id":141830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:32:40] local.INFO: Processing buffer {"connection_id":141830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:32:40] local.INFO: Packet analysis {"connection_id":141830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:32:40] local.INFO: Extracted packet for processing {"connection_id":141830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":141830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:32:40] local.INFO: GPS data processed {"connection_id":141830,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:32:40] local.INFO: Acknowledgment sent {"connection_id":141830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:33:03] local.INFO: TCP Data received {"connection_id":139477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:33:03] local.INFO: Processing buffer {"connection_id":139477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:33:03] local.INFO: IMEI packet received {"connection_id":139477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":139477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:33:08] local.INFO: TCP Data received {"connection_id":139477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:33:08] local.INFO: Processing buffer {"connection_id":139477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:33:08] local.INFO: IMEI packet received {"connection_id":139477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":139477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:33:09] local.INFO: TCP Data received {"connection_id":139477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:33:09] local.INFO: Processing buffer {"connection_id":139477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:33:09] local.INFO: Packet analysis {"connection_id":139477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:33:09] local.INFO: Extracted packet for processing {"connection_id":139477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:33:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:33:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":139477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:33:09] local.INFO: GPS data processed {"connection_id":139477,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:33:09] local.INFO: Acknowledgment sent {"connection_id":139477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:33:40] local.INFO: TCP Data received {"connection_id":139477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:33:40] local.INFO: Processing buffer {"connection_id":139477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:33:40] local.INFO: Packet analysis {"connection_id":139477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:33:40] local.INFO: Extracted packet for processing {"connection_id":139477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:33:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:33:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":139477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:33:40] local.INFO: GPS data processed {"connection_id":139477,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:33:40] local.INFO: Acknowledgment sent {"connection_id":139477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:34:08] local.INFO: TCP Data received {"connection_id":139478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:34:08] local.INFO: Processing buffer {"connection_id":139478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:34:08] local.INFO: IMEI packet received {"connection_id":139478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":139478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:34:13] local.INFO: TCP Data received {"connection_id":139478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:34:13] local.INFO: Processing buffer {"connection_id":139478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:34:13] local.INFO: IMEI packet received {"connection_id":139478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":139478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:34:14] local.INFO: TCP Data received {"connection_id":139478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:34:14] local.INFO: Processing buffer {"connection_id":139478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:34:14] local.INFO: Packet analysis {"connection_id":139478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:34:14] local.INFO: Extracted packet for processing {"connection_id":139478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:34:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:34:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:34: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-07-23 03:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:34:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:34:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":139478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:34:14] local.INFO: GPS data processed {"connection_id":139478,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:34:14] local.INFO: Acknowledgment sent {"connection_id":139478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:34:18] local.INFO: TCP Data received {"connection_id":139478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:34:18] local.INFO: Processing buffer {"connection_id":139478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:34:18] local.INFO: Packet analysis {"connection_id":139478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:34:18] local.INFO: Extracted packet for processing {"connection_id":139478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:34:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:34:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:34:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:34:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":139478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:34:18] local.INFO: GPS data processed {"connection_id":139478,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:34:18] local.INFO: Acknowledgment sent {"connection_id":139478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:35:02] local.INFO: TCP Data received {"connection_id":140475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:35:02] local.INFO: Processing buffer {"connection_id":140475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:35:02] local.INFO: IMEI packet received {"connection_id":140475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":140475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:35:08] local.INFO: TCP Data received {"connection_id":140475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:35:08] local.INFO: Processing buffer {"connection_id":140475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:35:08] local.INFO: IMEI packet received {"connection_id":140475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":140475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:35:09] local.INFO: TCP Data received {"connection_id":140475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:35:09] local.INFO: Processing buffer {"connection_id":140475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:35:09] local.INFO: Packet analysis {"connection_id":140475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:35:09] local.INFO: Extracted packet for processing {"connection_id":140475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:35:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:35:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":140475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:35:09] local.INFO: GPS data processed {"connection_id":140475,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:35:09] local.INFO: Acknowledgment sent {"connection_id":140475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:35:40] local.INFO: TCP Data received {"connection_id":140475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:35:40] local.INFO: Processing buffer {"connection_id":140475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:35:40] local.INFO: Packet analysis {"connection_id":140475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:35:40] local.INFO: Extracted packet for processing {"connection_id":140475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:35:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:35:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":140475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:35:40] local.INFO: GPS data processed {"connection_id":140475,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:35:40] local.INFO: Acknowledgment sent {"connection_id":140475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:36:03] local.INFO: TCP Data received {"connection_id":140476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:36:03] local.INFO: Processing buffer {"connection_id":140476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:36:03] local.INFO: IMEI packet received {"connection_id":140476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":140476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:36:08] local.INFO: TCP Data received {"connection_id":140476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:36:08] local.INFO: Processing buffer {"connection_id":140476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:36:08] local.INFO: IMEI packet received {"connection_id":140476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":140476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:36:09] local.INFO: TCP Data received {"connection_id":140476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:36:09] local.INFO: Processing buffer {"connection_id":140476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:36:09] local.INFO: Packet analysis {"connection_id":140476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:36:09] local.INFO: Extracted packet for processing {"connection_id":140476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:36:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:36:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:36:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:36:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":140476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:36:09] local.INFO: GPS data processed {"connection_id":140476,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:36:09] local.INFO: Acknowledgment sent {"connection_id":140476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:36:40] local.INFO: TCP Data received {"connection_id":140476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:36:40] local.INFO: Processing buffer {"connection_id":140476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:36:40] local.INFO: Packet analysis {"connection_id":140476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:36:40] local.INFO: Extracted packet for processing {"connection_id":140476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:36:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":140476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:36:40] local.INFO: GPS data processed {"connection_id":140476,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:36:40] local.INFO: Acknowledgment sent {"connection_id":140476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:37:03] local.INFO: TCP Data received {"connection_id":139479,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:37:03] local.INFO: Processing buffer {"connection_id":139479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:37:03] local.INFO: IMEI packet received {"connection_id":139479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":139479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:37:08] local.INFO: TCP Data received {"connection_id":139479,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:37:08] local.INFO: Processing buffer {"connection_id":139479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:37:08] local.INFO: IMEI packet received {"connection_id":139479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":139479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:37:09] local.INFO: TCP Data received {"connection_id":139479,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:37:09] local.INFO: Processing buffer {"connection_id":139479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bd92278012cb29bc007823b400042003825..."} 
[2026-07-23 03:37:09] local.INFO: Packet analysis {"connection_id":139479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:37:09] local.INFO: Extracted packet for processing {"connection_id":139479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bd9"} 
[2026-07-23 03:37:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897891840001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757691000,"timestamp_ms":1784757691000,"timestamp_seconds":1784757691,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bd92278"} 
[2026-07-23 03:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 03:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897891840001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897891840001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:37:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897891840001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":139479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:37:09] local.INFO: GPS data processed {"connection_id":139479,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:37:09] local.INFO: Acknowledgment sent {"connection_id":139479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:37:40] local.INFO: TCP Data received {"connection_id":139479,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:37:40] local.INFO: Processing buffer {"connection_id":139479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:37:40] local.INFO: Packet analysis {"connection_id":139479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:37:40] local.INFO: Extracted packet for processing {"connection_id":139479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:37:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:37:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:37:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:37:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:37:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":139479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:37:40] local.INFO: GPS data processed {"connection_id":139479,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:37:40] local.INFO: Acknowledgment sent {"connection_id":139479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:38:08] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:38:08] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:38:08] local.INFO: IMEI packet received {"connection_id":139423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":139423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:38:13] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:38:13] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:38:13] local.INFO: IMEI packet received {"connection_id":139423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":139423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:38:15] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:38:15] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:38:15] local.INFO: Packet analysis {"connection_id":139423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:38:15] local.INFO: Extracted packet for processing {"connection_id":139423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:38:15] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":139423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:38:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":139423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:38:15] local.INFO: GPS data processed {"connection_id":139423,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:38:15] local.INFO: Acknowledgment sent {"connection_id":139423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:38:18] local.INFO: TCP Data received {"connection_id":139423,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:38:18] local.INFO: Processing buffer {"connection_id":139423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:38:18] local.INFO: Packet analysis {"connection_id":139423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:38:18] local.INFO: Extracted packet for processing {"connection_id":139423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:38:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:38:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":139423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:38:18] local.INFO: GPS data processed {"connection_id":139423,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:38:18] local.INFO: Acknowledgment sent {"connection_id":139423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:39:03] local.INFO: TCP Data received {"connection_id":139480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:39:03] local.INFO: Processing buffer {"connection_id":139480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:39:03] local.INFO: IMEI packet received {"connection_id":139480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":139480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:39:08] local.INFO: TCP Data received {"connection_id":139480,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:39:08] local.INFO: Processing buffer {"connection_id":139480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:39:08] local.INFO: IMEI packet received {"connection_id":139480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":139480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:39:09] local.INFO: TCP Data received {"connection_id":139480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:39:09] local.INFO: Processing buffer {"connection_id":139480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:39:09] local.INFO: Packet analysis {"connection_id":139480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:39:09] local.INFO: Extracted packet for processing {"connection_id":139480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:39:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:39:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":139480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:39:09] local.INFO: GPS data processed {"connection_id":139480,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:39:09] local.INFO: Acknowledgment sent {"connection_id":139480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:39:40] local.INFO: TCP Data received {"connection_id":139480,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:39:40] local.INFO: Processing buffer {"connection_id":139480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:39:40] local.INFO: Packet analysis {"connection_id":139480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:39:40] local.INFO: Extracted packet for processing {"connection_id":139480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:39:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":139480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:39:40] local.INFO: GPS data processed {"connection_id":139480,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:39:40] local.INFO: Acknowledgment sent {"connection_id":139480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:40:03] local.INFO: TCP Data received {"connection_id":139481,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:40:03] local.INFO: Processing buffer {"connection_id":139481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:40:03] local.INFO: IMEI packet received {"connection_id":139481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":139481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:40:08] local.INFO: TCP Data received {"connection_id":139481,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:40:08] local.INFO: Processing buffer {"connection_id":139481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:40:08] local.INFO: IMEI packet received {"connection_id":139481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":139481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:40:08] local.INFO: TCP Data received {"connection_id":139481,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:40:09] local.INFO: Processing buffer {"connection_id":139481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:40:09] local.INFO: Packet analysis {"connection_id":139481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:40:09] local.INFO: Extracted packet for processing {"connection_id":139481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:40:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:40:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":139481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:40:09] local.INFO: GPS data processed {"connection_id":139481,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:40:09] local.INFO: Acknowledgment sent {"connection_id":139481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:40:40] local.INFO: TCP Data received {"connection_id":139481,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:40:40] local.INFO: Processing buffer {"connection_id":139481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:40:40] local.INFO: Packet analysis {"connection_id":139481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:40:40] local.INFO: Extracted packet for processing {"connection_id":139481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:40:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:40:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":139481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:40:40] local.INFO: GPS data processed {"connection_id":139481,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:40:40] local.INFO: Acknowledgment sent {"connection_id":139481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:41:02] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:41:02] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:41:02] local.INFO: IMEI packet received {"connection_id":139424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":139424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:41:08] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:41:08] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:41:08] local.INFO: IMEI packet received {"connection_id":139424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":139424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:41:09] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:41:09] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:41:09] local.INFO: Packet analysis {"connection_id":139424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:41:09] local.INFO: Extracted packet for processing {"connection_id":139424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:41:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:41:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":139424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:41:09] local.INFO: GPS data processed {"connection_id":139424,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:41:09] local.INFO: Acknowledgment sent {"connection_id":139424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:41:40] local.INFO: TCP Data received {"connection_id":139424,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:41:40] local.INFO: Processing buffer {"connection_id":139424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:41:40] local.INFO: Packet analysis {"connection_id":139424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:41:40] local.INFO: Extracted packet for processing {"connection_id":139424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:41:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":139424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:41:40] local.INFO: GPS data processed {"connection_id":139424,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:41:40] local.INFO: Acknowledgment sent {"connection_id":139424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:42:03] local.INFO: TCP Data received {"connection_id":141831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:42:03] local.INFO: Processing buffer {"connection_id":141831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:42:03] local.INFO: IMEI packet received {"connection_id":141831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":141831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:42:08] local.INFO: TCP Data received {"connection_id":141831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:42:08] local.INFO: Processing buffer {"connection_id":141831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:42:08] local.INFO: IMEI packet received {"connection_id":141831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":141831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:42:09] local.INFO: TCP Data received {"connection_id":141831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:42:09] local.INFO: Processing buffer {"connection_id":141831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bddba40012cb29bc007823b40004b003824..."} 
[2026-07-23 03:42:09] local.INFO: Packet analysis {"connection_id":141831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:42:09] local.INFO: Extracted packet for processing {"connection_id":141831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bdd"} 
[2026-07-23 03:42:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456897968896001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:42:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784757992000,"timestamp_ms":1784757992000,"timestamp_seconds":1784757992,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bddba40"} 
[2026-07-23 03:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456897968896001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456897968896001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:42:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:42:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456897968896001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":141831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:42:09] local.INFO: GPS data processed {"connection_id":141831,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:42:09] local.INFO: Acknowledgment sent {"connection_id":141831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:42:40] local.INFO: TCP Data received {"connection_id":141831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:42:40] local.INFO: Processing buffer {"connection_id":141831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:42:40] local.INFO: Packet analysis {"connection_id":141831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:42:40] local.INFO: Extracted packet for processing {"connection_id":141831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:42:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:42:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":141831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:42:40] local.INFO: GPS data processed {"connection_id":141831,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:42:40] local.INFO: Acknowledgment sent {"connection_id":141831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:43:02] local.INFO: TCP Data received {"connection_id":139482,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:43:02] local.INFO: Processing buffer {"connection_id":139482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:43:02] local.INFO: IMEI packet received {"connection_id":139482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":139482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:43:08] local.INFO: TCP Data received {"connection_id":139482,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:43:08] local.INFO: Processing buffer {"connection_id":139482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:43:08] local.INFO: IMEI packet received {"connection_id":139482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":139482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:43:09] local.INFO: TCP Data received {"connection_id":139482,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:43:09] local.INFO: Processing buffer {"connection_id":139482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:43:09] local.INFO: Packet analysis {"connection_id":139482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:43:09] local.INFO: Extracted packet for processing {"connection_id":139482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:43:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:43:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:43:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:43:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:43:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":139482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:43:09] local.INFO: GPS data processed {"connection_id":139482,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:43:09] local.INFO: Acknowledgment sent {"connection_id":139482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:43:40] local.INFO: TCP Data received {"connection_id":139482,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:43:40] local.INFO: Processing buffer {"connection_id":139482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:43:40] local.INFO: Packet analysis {"connection_id":139482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:43:40] local.INFO: Extracted packet for processing {"connection_id":139482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:43:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:43:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:43:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:43:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:43:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":139482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:43:40] local.INFO: GPS data processed {"connection_id":139482,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:43:40] local.INFO: Acknowledgment sent {"connection_id":139482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:44:08] local.INFO: TCP Data received {"connection_id":141832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:44:08] local.INFO: Processing buffer {"connection_id":141832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:44:08] local.INFO: IMEI packet received {"connection_id":141832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":141832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:44:13] local.INFO: TCP Data received {"connection_id":141832,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:44:13] local.INFO: Processing buffer {"connection_id":141832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:44:13] local.INFO: IMEI packet received {"connection_id":141832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":141832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:44:13] local.INFO: TCP Data received {"connection_id":141832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:44:13] local.INFO: Processing buffer {"connection_id":141832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:44:13] local.INFO: Packet analysis {"connection_id":141832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:44:13] local.INFO: Extracted packet for processing {"connection_id":141832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:44:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":141832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:44:13] local.INFO: GPS data processed {"connection_id":141832,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:44:13] local.INFO: Acknowledgment sent {"connection_id":141832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:44:18] local.INFO: TCP Data received {"connection_id":141832,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:44:18] local.INFO: Processing buffer {"connection_id":141832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:44:18] local.INFO: Packet analysis {"connection_id":141832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:44:18] local.INFO: Extracted packet for processing {"connection_id":141832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:44:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:44:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:44:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":141832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:44:18] local.INFO: GPS data processed {"connection_id":141832,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:44:18] local.INFO: Acknowledgment sent {"connection_id":141832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:45:04] local.INFO: TCP Data received {"connection_id":140477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:45:04] local.INFO: Processing buffer {"connection_id":140477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:45:04] local.INFO: IMEI packet received {"connection_id":140477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":140477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:45:07] local.INFO: TCP Data received {"connection_id":140477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:45:07] local.INFO: Processing buffer {"connection_id":140477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:45:07] local.INFO: IMEI packet received {"connection_id":140477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":140477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:45:08] local.INFO: TCP Data received {"connection_id":140477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:08] local.INFO: Processing buffer {"connection_id":140477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:08] local.INFO: Packet analysis {"connection_id":140477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:45:08] local.INFO: Extracted packet for processing {"connection_id":140477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:45:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:45:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":140477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:45:08] local.INFO: GPS data processed {"connection_id":140477,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:45:08] local.INFO: Acknowledgment sent {"connection_id":140477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:45:13] local.INFO: TCP Data received {"connection_id":140477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:13] local.INFO: Processing buffer {"connection_id":140477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:13] local.INFO: Packet analysis {"connection_id":140477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:45:13] local.INFO: Extracted packet for processing {"connection_id":140477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:45:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":140477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:45:13] local.INFO: GPS data processed {"connection_id":140477,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:45:13] local.INFO: Acknowledgment sent {"connection_id":140477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:45:44] local.INFO: TCP Data received {"connection_id":140477,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:44] local.INFO: Processing buffer {"connection_id":140477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:45:44] local.INFO: Packet analysis {"connection_id":140477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:45:44] local.INFO: Extracted packet for processing {"connection_id":140477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:45:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03: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-07-23 03:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:45:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:45:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":140477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:45:44] local.INFO: GPS data processed {"connection_id":140477,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:45:44] local.INFO: Acknowledgment sent {"connection_id":140477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:46:02] local.INFO: TCP Data received {"connection_id":141833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:46:02] local.INFO: Processing buffer {"connection_id":141833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:46:02] local.INFO: IMEI packet received {"connection_id":141833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":141833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:46:08] local.INFO: TCP Data received {"connection_id":141833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:46:08] local.INFO: Processing buffer {"connection_id":141833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:46:08] local.INFO: IMEI packet received {"connection_id":141833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":141833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:46:09] local.INFO: TCP Data received {"connection_id":141833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:46:09] local.INFO: Processing buffer {"connection_id":141833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:46:09] local.INFO: Packet analysis {"connection_id":141833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:46:09] local.INFO: Extracted packet for processing {"connection_id":141833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":141833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:46:09] local.INFO: GPS data processed {"connection_id":141833,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:46:09] local.INFO: Acknowledgment sent {"connection_id":141833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:46:44] local.INFO: TCP Data received {"connection_id":141833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:46:44] local.INFO: Processing buffer {"connection_id":141833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:46:44] local.INFO: Packet analysis {"connection_id":141833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:46:44] local.INFO: Extracted packet for processing {"connection_id":141833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:46:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":141833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":141833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":141833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:46:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":141833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:46:44] local.INFO: GPS data processed {"connection_id":141833,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:46:44] local.INFO: Acknowledgment sent {"connection_id":141833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:47:04] local.INFO: TCP Data received {"connection_id":139483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:47:04] local.INFO: Processing buffer {"connection_id":139483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:47:04] local.INFO: IMEI packet received {"connection_id":139483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":139483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:47:09] local.INFO: TCP Data received {"connection_id":139483,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:47:09] local.INFO: Processing buffer {"connection_id":139483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:47:09] local.INFO: IMEI packet received {"connection_id":139483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":139483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:47:10] local.INFO: TCP Data received {"connection_id":139483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:47:10] local.INFO: Processing buffer {"connection_id":139483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be25208012cb29bc007823b40004a003826..."} 
[2026-07-23 03:47:10] local.INFO: Packet analysis {"connection_id":139483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:47:10] local.INFO: Extracted packet for processing {"connection_id":139483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be2"} 
[2026-07-23 03:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898045952001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784758293000,"timestamp_ms":1784758293000,"timestamp_seconds":1784758293,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be25208"} 
[2026-07-23 03:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 03:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":139483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":139483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":139483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898045952001,"66":25223,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898045952001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898045952001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":139483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:47:10] local.INFO: GPS data processed {"connection_id":139483,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:47:10] local.INFO: Acknowledgment sent {"connection_id":139483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:47:43] local.INFO: TCP Data received {"connection_id":139483,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:47:43] local.INFO: Processing buffer {"connection_id":139483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:47:43] local.INFO: Packet analysis {"connection_id":139483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:47:43] local.INFO: Extracted packet for processing {"connection_id":139483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":139483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":139483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":139483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":139483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:47:43] local.INFO: GPS data processed {"connection_id":139483,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:47:43] local.INFO: Acknowledgment sent {"connection_id":139483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:48:02] local.INFO: TCP Data received {"connection_id":139484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:48:02] local.INFO: Processing buffer {"connection_id":139484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:48:02] local.INFO: IMEI packet received {"connection_id":139484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":139484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:48:07] local.INFO: TCP Data received {"connection_id":139484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:48:07] local.INFO: Processing buffer {"connection_id":139484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:48:07] local.INFO: IMEI packet received {"connection_id":139484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":139484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:48:08] local.INFO: TCP Data received {"connection_id":139484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:48:08] local.INFO: Processing buffer {"connection_id":139484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:48:08] local.INFO: Packet analysis {"connection_id":139484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:48:08] local.INFO: Extracted packet for processing {"connection_id":139484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:48:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:48:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":139484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:48:08] local.INFO: GPS data processed {"connection_id":139484,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:48:08] local.INFO: Acknowledgment sent {"connection_id":139484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:48:39] local.INFO: TCP Data received {"connection_id":139484,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:48:39] local.INFO: Processing buffer {"connection_id":139484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:48:39] local.INFO: Packet analysis {"connection_id":139484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:48:39] local.INFO: Extracted packet for processing {"connection_id":139484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:48:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":139484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:48:39] local.INFO: GPS data processed {"connection_id":139484,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:48:39] local.INFO: Acknowledgment sent {"connection_id":139484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:49:08] local.INFO: TCP Data received {"connection_id":141834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:49:08] local.INFO: Processing buffer {"connection_id":141834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:49:08] local.INFO: IMEI packet received {"connection_id":141834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":141834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:49:12] local.INFO: TCP Data received {"connection_id":141834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:49:12] local.INFO: Processing buffer {"connection_id":141834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:49:12] local.INFO: IMEI packet received {"connection_id":141834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":141834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:49:13] local.INFO: TCP Data received {"connection_id":141834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:49:13] local.INFO: Processing buffer {"connection_id":141834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:49:13] local.INFO: Packet analysis {"connection_id":141834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:49:13] local.INFO: Extracted packet for processing {"connection_id":141834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:49:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":141834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:49:13] local.INFO: GPS data processed {"connection_id":141834,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:49:13] local.INFO: Acknowledgment sent {"connection_id":141834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:49:20] local.INFO: TCP Data received {"connection_id":141834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:49:20] local.INFO: Processing buffer {"connection_id":141834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:49:20] local.INFO: Packet analysis {"connection_id":141834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:49:20] local.INFO: Extracted packet for processing {"connection_id":141834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:49:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":141834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:49:20] local.INFO: GPS data processed {"connection_id":141834,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:49:20] local.INFO: Acknowledgment sent {"connection_id":141834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:50:04] local.INFO: TCP Data received {"connection_id":141835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:50:04] local.INFO: Processing buffer {"connection_id":141835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:50:04] local.INFO: IMEI packet received {"connection_id":141835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":141835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:50:07] local.INFO: TCP Data received {"connection_id":141835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:50:07] local.INFO: Processing buffer {"connection_id":141835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:50:07] local.INFO: IMEI packet received {"connection_id":141835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":141835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:50:08] local.INFO: TCP Data received {"connection_id":141835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:08] local.INFO: Processing buffer {"connection_id":141835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:08] local.INFO: Packet analysis {"connection_id":141835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:50:08] local.INFO: Extracted packet for processing {"connection_id":141835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:50:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":141835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:50:08] local.INFO: GPS data processed {"connection_id":141835,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:50:08] local.INFO: Acknowledgment sent {"connection_id":141835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:50:13] local.INFO: TCP Data received {"connection_id":141835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:13] local.INFO: Processing buffer {"connection_id":141835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:13] local.INFO: Packet analysis {"connection_id":141835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:50:13] local.INFO: Extracted packet for processing {"connection_id":141835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:50:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:50:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":141835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:50:13] local.INFO: GPS data processed {"connection_id":141835,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:50:13] local.INFO: Acknowledgment sent {"connection_id":141835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:50:44] local.INFO: TCP Data received {"connection_id":141835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:44] local.INFO: Processing buffer {"connection_id":141835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:50:44] local.INFO: Packet analysis {"connection_id":141835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:50:44] local.INFO: Extracted packet for processing {"connection_id":141835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:50:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":141835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":141835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":141835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:50:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":141835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:50:44] local.INFO: GPS data processed {"connection_id":141835,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:50:44] local.INFO: Acknowledgment sent {"connection_id":141835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:51:03] local.INFO: TCP Data received {"connection_id":139485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:51:03] local.INFO: Processing buffer {"connection_id":139485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:51:03] local.INFO: IMEI packet received {"connection_id":139485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":139485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:51:08] local.INFO: TCP Data received {"connection_id":139485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:51:08] local.INFO: Processing buffer {"connection_id":139485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:51:08] local.INFO: IMEI packet received {"connection_id":139485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":139485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:51:09] local.INFO: TCP Data received {"connection_id":139485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:51:09] local.INFO: Processing buffer {"connection_id":139485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:51:09] local.INFO: Packet analysis {"connection_id":139485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:51:09] local.INFO: Extracted packet for processing {"connection_id":139485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:51:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:51:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":139485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:51:09] local.INFO: GPS data processed {"connection_id":139485,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:51:09] local.INFO: Acknowledgment sent {"connection_id":139485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:51:40] local.INFO: TCP Data received {"connection_id":139485,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:51:40] local.INFO: Processing buffer {"connection_id":139485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:51:40] local.INFO: Packet analysis {"connection_id":139485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:51:40] local.INFO: Extracted packet for processing {"connection_id":139485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":139485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:51:40] local.INFO: GPS data processed {"connection_id":139485,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:51:40] local.INFO: Acknowledgment sent {"connection_id":139485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:52:03] local.INFO: TCP Data received {"connection_id":141836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:52:03] local.INFO: Processing buffer {"connection_id":141836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:52:03] local.INFO: IMEI packet received {"connection_id":141836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":141836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:52:08] local.INFO: TCP Data received {"connection_id":141836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:52:08] local.INFO: Processing buffer {"connection_id":141836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:52:08] local.INFO: IMEI packet received {"connection_id":141836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":141836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:52:09] local.INFO: TCP Data received {"connection_id":141836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:52:09] local.INFO: Processing buffer {"connection_id":141836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8be6e9d0012cb29bc007823b400046003828..."} 
[2026-07-23 03:52:09] local.INFO: Packet analysis {"connection_id":141836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:52:09] local.INFO: Extracted packet for processing {"connection_id":141836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8be6"} 
[2026-07-23 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898123008001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:52:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758594000,"timestamp_ms":1784758594000,"timestamp_seconds":1784758594,"priority":1,"record_length":96,"hex_timestamp":"0000019f8be6e9d0"} 
[2026-07-23 03:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-23 03:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898123008001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898123008001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:52:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898123008001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":141836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:52:09] local.INFO: GPS data processed {"connection_id":141836,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:52:09] local.INFO: Acknowledgment sent {"connection_id":141836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:52:39] local.INFO: TCP Data received {"connection_id":141836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:52:39] local.INFO: Processing buffer {"connection_id":141836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:52:39] local.INFO: Packet analysis {"connection_id":141836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:52:39] local.INFO: Extracted packet for processing {"connection_id":141836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:52:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:52:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:52:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":141836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:52:39] local.INFO: GPS data processed {"connection_id":141836,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:52:39] local.INFO: Acknowledgment sent {"connection_id":141836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:53:02] local.INFO: TCP Data received {"connection_id":140478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:53:02] local.INFO: Processing buffer {"connection_id":140478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:53:02] local.INFO: IMEI packet received {"connection_id":140478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":140478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:53:09] local.INFO: TCP Data received {"connection_id":140478,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:53:09] local.INFO: Processing buffer {"connection_id":140478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:53:09] local.INFO: IMEI packet received {"connection_id":140478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":140478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:53:09] local.INFO: TCP Data received {"connection_id":140478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:53:09] local.INFO: Processing buffer {"connection_id":140478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:53:09] local.INFO: Packet analysis {"connection_id":140478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:53:09] local.INFO: Extracted packet for processing {"connection_id":140478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:53:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:53:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":140478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:53:09] local.INFO: GPS data processed {"connection_id":140478,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:53:09] local.INFO: Acknowledgment sent {"connection_id":140478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:53:40] local.INFO: TCP Data received {"connection_id":140478,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:53:40] local.INFO: Processing buffer {"connection_id":140478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:53:40] local.INFO: Packet analysis {"connection_id":140478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:53:40] local.INFO: Extracted packet for processing {"connection_id":140478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:53:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:53:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":140478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:53:40] local.INFO: GPS data processed {"connection_id":140478,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:53:40] local.INFO: Acknowledgment sent {"connection_id":140478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:54:02] local.INFO: TCP Data received {"connection_id":139486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:54:02] local.INFO: Processing buffer {"connection_id":139486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:54:02] local.INFO: IMEI packet received {"connection_id":139486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":139486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:54:08] local.INFO: TCP Data received {"connection_id":139486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:54:08] local.INFO: Processing buffer {"connection_id":139486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:54:08] local.INFO: IMEI packet received {"connection_id":139486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":139486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:54:09] local.INFO: TCP Data received {"connection_id":139486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:54:09] local.INFO: Processing buffer {"connection_id":139486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:54:09] local.INFO: Packet analysis {"connection_id":139486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:54:09] local.INFO: Extracted packet for processing {"connection_id":139486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:54:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:54:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:54:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:54:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:54:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":139486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:54:09] local.INFO: GPS data processed {"connection_id":139486,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:54:09] local.INFO: Acknowledgment sent {"connection_id":139486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:54:40] local.INFO: TCP Data received {"connection_id":139486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:54:40] local.INFO: Processing buffer {"connection_id":139486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:54:40] local.INFO: Packet analysis {"connection_id":139486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:54:40] local.INFO: Extracted packet for processing {"connection_id":139486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:54:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:54:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":139486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:54:40] local.INFO: GPS data processed {"connection_id":139486,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:54:40] local.INFO: Acknowledgment sent {"connection_id":139486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:55:08] local.INFO: TCP Data received {"connection_id":141837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:55:08] local.INFO: Processing buffer {"connection_id":141837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:55:08] local.INFO: IMEI packet received {"connection_id":141837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":141837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:55:13] local.INFO: TCP Data received {"connection_id":141837,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:55:13] local.INFO: Processing buffer {"connection_id":141837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:55:13] local.INFO: IMEI packet received {"connection_id":141837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":141837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:55:13] local.INFO: TCP Data received {"connection_id":141837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:55:13] local.INFO: Processing buffer {"connection_id":141837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:55:13] local.INFO: Packet analysis {"connection_id":141837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:55:13] local.INFO: Extracted packet for processing {"connection_id":141837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:55:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:55:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":141837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:55:14] local.INFO: GPS data processed {"connection_id":141837,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:55:14] local.INFO: Acknowledgment sent {"connection_id":141837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:55:18] local.INFO: TCP Data received {"connection_id":141837,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:55:18] local.INFO: Processing buffer {"connection_id":141837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:55:18] local.INFO: Packet analysis {"connection_id":141837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:55:18] local.INFO: Extracted packet for processing {"connection_id":141837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:55:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:55:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:55:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:55:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":141837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:55:18] local.INFO: GPS data processed {"connection_id":141837,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:55:18] local.INFO: Acknowledgment sent {"connection_id":141837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:56:03] local.INFO: TCP Data received {"connection_id":140479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:56:03] local.INFO: Processing buffer {"connection_id":140479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:56:03] local.INFO: IMEI packet received {"connection_id":140479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":140479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:56:08] local.INFO: TCP Data received {"connection_id":140479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:56:08] local.INFO: Processing buffer {"connection_id":140479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:56:08] local.INFO: IMEI packet received {"connection_id":140479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":140479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:56:09] local.INFO: TCP Data received {"connection_id":140479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:56:09] local.INFO: Processing buffer {"connection_id":140479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:56:09] local.INFO: Packet analysis {"connection_id":140479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:56:09] local.INFO: Extracted packet for processing {"connection_id":140479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:56:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:56:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:56:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:56:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":140479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:56:09] local.INFO: GPS data processed {"connection_id":140479,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:56:09] local.INFO: Acknowledgment sent {"connection_id":140479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:56:39] local.INFO: TCP Data received {"connection_id":140479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:56:39] local.INFO: Processing buffer {"connection_id":140479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:56:39] local.INFO: Packet analysis {"connection_id":140479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:56:39] local.INFO: Extracted packet for processing {"connection_id":140479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:56:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:56:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:56:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":140479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:56:40] local.INFO: GPS data processed {"connection_id":140479,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:56:40] local.INFO: Acknowledgment sent {"connection_id":140479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:57:03] local.INFO: TCP Data received {"connection_id":140480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:57:03] local.INFO: Processing buffer {"connection_id":140480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:57:03] local.INFO: IMEI packet received {"connection_id":140480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":140480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:57:08] local.INFO: TCP Data received {"connection_id":140480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:57:08] local.INFO: Processing buffer {"connection_id":140480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:57:08] local.INFO: IMEI packet received {"connection_id":140480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":140480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:57:09] local.INFO: TCP Data received {"connection_id":140480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:57:09] local.INFO: Processing buffer {"connection_id":140480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8beb8198012cb29bc007823b400042003825..."} 
[2026-07-23 03:57:09] local.INFO: Packet analysis {"connection_id":140480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:57:09] local.INFO: Extracted packet for processing {"connection_id":140480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8beb"} 
[2026-07-23 03:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":66,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898200064001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784758895000,"timestamp_ms":1784758895000,"timestamp_seconds":1784758895,"priority":1,"record_length":96,"hex_timestamp":"0000019f8beb8198"} 
[2026-07-23 03:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898200064001,"66":25288,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898200064001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:57:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898200064001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":140480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:57:09] local.INFO: GPS data processed {"connection_id":140480,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:57:09] local.INFO: Acknowledgment sent {"connection_id":140480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:57:39] local.INFO: TCP Data received {"connection_id":140480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:57:39] local.INFO: Processing buffer {"connection_id":140480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:57:39] local.INFO: Packet analysis {"connection_id":140480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:57:39] local.INFO: Extracted packet for processing {"connection_id":140480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:57:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 03:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:57:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":140480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:57:39] local.INFO: GPS data processed {"connection_id":140480,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:57:39] local.INFO: Acknowledgment sent {"connection_id":140480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:58:02] local.INFO: TCP Data received {"connection_id":140481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:58:02] local.INFO: Processing buffer {"connection_id":140481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:58:02] local.INFO: IMEI packet received {"connection_id":140481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":140481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:58:08] local.INFO: TCP Data received {"connection_id":140481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:58:08] local.INFO: Processing buffer {"connection_id":140481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:58:08] local.INFO: IMEI packet received {"connection_id":140481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":140481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:58:09] local.INFO: TCP Data received {"connection_id":140481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:58:09] local.INFO: Processing buffer {"connection_id":140481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:58:09] local.INFO: Packet analysis {"connection_id":140481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:58:09] local.INFO: Extracted packet for processing {"connection_id":140481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:58:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:58:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 03:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:58:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:58:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":140481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:58:09] local.INFO: GPS data processed {"connection_id":140481,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:58:09] local.INFO: Acknowledgment sent {"connection_id":140481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:58:40] local.INFO: TCP Data received {"connection_id":140481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:58:40] local.INFO: Processing buffer {"connection_id":140481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:58:40] local.INFO: Packet analysis {"connection_id":140481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:58:40] local.INFO: Extracted packet for processing {"connection_id":140481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:58:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 03:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:58:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:58:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":140481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:58:40] local.INFO: GPS data processed {"connection_id":140481,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:58:40] local.INFO: Acknowledgment sent {"connection_id":140481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:59:02] local.INFO: TCP Data received {"connection_id":140482,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:59:02] local.INFO: Processing buffer {"connection_id":140482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:59:02] local.INFO: IMEI packet received {"connection_id":140482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":140482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 03:59:08] local.INFO: TCP Data received {"connection_id":140482,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:59:08] local.INFO: Processing buffer {"connection_id":140482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 03:59:08] local.INFO: IMEI packet received {"connection_id":140482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 03:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":140482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 03:59:09] local.INFO: TCP Data received {"connection_id":140482,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:59:09] local.INFO: Processing buffer {"connection_id":140482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:59:09] local.INFO: Packet analysis {"connection_id":140482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:59:09] local.INFO: Extracted packet for processing {"connection_id":140482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:59:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03: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-07-23 03:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 03:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03: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-07-23 03:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:59:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":140482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:59:09] local.INFO: GPS data processed {"connection_id":140482,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:59:09] local.INFO: Acknowledgment sent {"connection_id":140482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 03:59:40] local.INFO: TCP Data received {"connection_id":140482,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:59:40] local.INFO: Processing buffer {"connection_id":140482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 03:59:40] local.INFO: Packet analysis {"connection_id":140482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:59:40] local.INFO: Extracted packet for processing {"connection_id":140482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 03:59:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 03:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 03:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 03:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 03:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 03:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 03:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 03:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 03:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 03:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 03:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 03:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 03:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 03:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 03:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 03:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 03:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 03:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 03:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 03:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 03:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 03:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 03:59:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 03:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 03:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 03:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 03:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 03:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":140482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 03:59:40] local.INFO: GPS data processed {"connection_id":140482,"processed":1,"errors":0,"total":1} 
[2026-07-23 03:59:40] local.INFO: Acknowledgment sent {"connection_id":140482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:00:08] local.INFO: TCP Data received {"connection_id":140483,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:00:08] local.INFO: Processing buffer {"connection_id":140483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:00:08] local.INFO: IMEI packet received {"connection_id":140483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":140483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:00:13] local.INFO: TCP Data received {"connection_id":140483,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:00:13] local.INFO: Processing buffer {"connection_id":140483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:00:13] local.INFO: IMEI packet received {"connection_id":140483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":140483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:00:14] local.INFO: TCP Data received {"connection_id":140483,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:00:14] local.INFO: Processing buffer {"connection_id":140483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:00:14] local.INFO: Packet analysis {"connection_id":140483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:00:14] local.INFO: Extracted packet for processing {"connection_id":140483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:00:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:00:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 04:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 04:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:00:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:00:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":140483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:00:14] local.INFO: GPS data processed {"connection_id":140483,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:00:14] local.INFO: Acknowledgment sent {"connection_id":140483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:00:18] local.INFO: TCP Data received {"connection_id":140483,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:00:18] local.INFO: Processing buffer {"connection_id":140483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:00:18] local.INFO: Packet analysis {"connection_id":140483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:00:18] local.INFO: Extracted packet for processing {"connection_id":140483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:00:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:00:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 04:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 04:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:00:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:00:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":140483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:00:18] local.INFO: GPS data processed {"connection_id":140483,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:00:18] local.INFO: Acknowledgment sent {"connection_id":140483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:01:02] local.INFO: TCP Data received {"connection_id":140484,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:01:02] local.INFO: Processing buffer {"connection_id":140484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:01:02] local.INFO: IMEI packet received {"connection_id":140484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":140484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:01:08] local.INFO: TCP Data received {"connection_id":140484,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:01:08] local.INFO: Processing buffer {"connection_id":140484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:01:08] local.INFO: IMEI packet received {"connection_id":140484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":140484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:01:09] local.INFO: TCP Data received {"connection_id":140484,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:01:09] local.INFO: Processing buffer {"connection_id":140484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:01:09] local.INFO: Packet analysis {"connection_id":140484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:01:09] local.INFO: Extracted packet for processing {"connection_id":140484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:01:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 04:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 04:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:01:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:01:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:01:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":140484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:01:09] local.INFO: GPS data processed {"connection_id":140484,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:01:09] local.INFO: Acknowledgment sent {"connection_id":140484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:01:40] local.INFO: TCP Data received {"connection_id":140484,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:01:40] local.INFO: Processing buffer {"connection_id":140484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:01:40] local.INFO: Packet analysis {"connection_id":140484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:01:40] local.INFO: Extracted packet for processing {"connection_id":140484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:01:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 04:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 04:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:01:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":140484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:01:40] local.INFO: GPS data processed {"connection_id":140484,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:01:40] local.INFO: Acknowledgment sent {"connection_id":140484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:02:03] local.INFO: TCP Data received {"connection_id":139487,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:02:03] local.INFO: Processing buffer {"connection_id":139487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:02:03] local.INFO: IMEI packet received {"connection_id":139487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":139487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:02:08] local.INFO: TCP Data received {"connection_id":139487,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:02:08] local.INFO: Processing buffer {"connection_id":139487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:02:08] local.INFO: IMEI packet received {"connection_id":139487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":139487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:02:08] local.INFO: TCP Data received {"connection_id":139487,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:02:08] local.INFO: Processing buffer {"connection_id":139487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf01960012cb29bc007823b400041003825..."} 
[2026-07-23 04:02:08] local.INFO: Packet analysis {"connection_id":139487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:02:08] local.INFO: Extracted packet for processing {"connection_id":139487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf0"} 
[2026-07-23 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":37,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898277120001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:02:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784759196000,"timestamp_ms":1784759196000,"timestamp_seconds":1784759196,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf01960"} 
[2026-07-23 04:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-23 04:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898277120001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898277120001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:02:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:02:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898277120001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":139487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:02:09] local.INFO: GPS data processed {"connection_id":139487,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:02:09] local.INFO: Acknowledgment sent {"connection_id":139487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:02:39] local.INFO: TCP Data received {"connection_id":139487,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:02:39] local.INFO: Processing buffer {"connection_id":139487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:02:39] local.INFO: Packet analysis {"connection_id":139487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:02:39] local.INFO: Extracted packet for processing {"connection_id":139487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:02:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:02:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":139487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:02:39] local.INFO: GPS data processed {"connection_id":139487,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:02:39] local.INFO: Acknowledgment sent {"connection_id":139487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:03:02] local.INFO: TCP Data received {"connection_id":140485,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:03:02] local.INFO: Processing buffer {"connection_id":140485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:03:02] local.INFO: IMEI packet received {"connection_id":140485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":140485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:03:08] local.INFO: TCP Data received {"connection_id":140485,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:03:08] local.INFO: Processing buffer {"connection_id":140485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:03:08] local.INFO: IMEI packet received {"connection_id":140485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":140485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:03:09] local.INFO: TCP Data received {"connection_id":140485,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:03:09] local.INFO: Processing buffer {"connection_id":140485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:03:09] local.INFO: Packet analysis {"connection_id":140485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:03:09] local.INFO: Extracted packet for processing {"connection_id":140485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:03:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:03:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":140485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:03:09] local.INFO: GPS data processed {"connection_id":140485,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:03:09] local.INFO: Acknowledgment sent {"connection_id":140485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:03:40] local.INFO: TCP Data received {"connection_id":140485,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:03:40] local.INFO: Processing buffer {"connection_id":140485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:03:40] local.INFO: Packet analysis {"connection_id":140485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:03:40] local.INFO: Extracted packet for processing {"connection_id":140485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:03:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":140485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:03:40] local.INFO: GPS data processed {"connection_id":140485,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:03:40] local.INFO: Acknowledgment sent {"connection_id":140485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:04:02] local.INFO: TCP Data received {"connection_id":141838,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:04:02] local.INFO: Processing buffer {"connection_id":141838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:04:02] local.INFO: IMEI packet received {"connection_id":141838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":141838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:04:08] local.INFO: TCP Data received {"connection_id":141838,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:04:08] local.INFO: Processing buffer {"connection_id":141838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:04:08] local.INFO: IMEI packet received {"connection_id":141838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":141838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:04:09] local.INFO: TCP Data received {"connection_id":141838,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:04:09] local.INFO: Processing buffer {"connection_id":141838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:04:09] local.INFO: Packet analysis {"connection_id":141838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:04:09] local.INFO: Extracted packet for processing {"connection_id":141838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:04:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:04:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":141838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:04:09] local.INFO: GPS data processed {"connection_id":141838,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:04:09] local.INFO: Acknowledgment sent {"connection_id":141838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:04:40] local.INFO: TCP Data received {"connection_id":141838,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:04:40] local.INFO: Processing buffer {"connection_id":141838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:04:40] local.INFO: Packet analysis {"connection_id":141838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:04:40] local.INFO: Extracted packet for processing {"connection_id":141838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":141838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:04:40] local.INFO: GPS data processed {"connection_id":141838,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:04:40] local.INFO: Acknowledgment sent {"connection_id":141838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:05:02] local.INFO: TCP Data received {"connection_id":139488,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:05:02] local.INFO: Processing buffer {"connection_id":139488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:05:02] local.INFO: IMEI packet received {"connection_id":139488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":139488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:05:08] local.INFO: TCP Data received {"connection_id":139488,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:05:08] local.INFO: Processing buffer {"connection_id":139488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:05:08] local.INFO: IMEI packet received {"connection_id":139488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":139488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:05:09] local.INFO: TCP Data received {"connection_id":139488,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:05:09] local.INFO: Processing buffer {"connection_id":139488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:05:09] local.INFO: Packet analysis {"connection_id":139488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:05:09] local.INFO: Extracted packet for processing {"connection_id":139488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:05:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:05:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:05:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:05:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":139488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:05:09] local.INFO: GPS data processed {"connection_id":139488,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:05:09] local.INFO: Acknowledgment sent {"connection_id":139488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:05:40] local.INFO: TCP Data received {"connection_id":139488,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:05:40] local.INFO: Processing buffer {"connection_id":139488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:05:40] local.INFO: Packet analysis {"connection_id":139488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:05:40] local.INFO: Extracted packet for processing {"connection_id":139488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:05:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:05:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:05:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:05:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":139488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:05:40] local.INFO: GPS data processed {"connection_id":139488,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:05:40] local.INFO: Acknowledgment sent {"connection_id":139488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:06:08] local.INFO: TCP Data received {"connection_id":139489,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:06:08] local.INFO: Processing buffer {"connection_id":139489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:06:08] local.INFO: IMEI packet received {"connection_id":139489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":139489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:06:13] local.INFO: TCP Data received {"connection_id":139489,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:06:13] local.INFO: Processing buffer {"connection_id":139489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:06:13] local.INFO: IMEI packet received {"connection_id":139489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":139489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:06:14] local.INFO: TCP Data received {"connection_id":139489,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:06:14] local.INFO: Processing buffer {"connection_id":139489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:06:14] local.INFO: Packet analysis {"connection_id":139489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:06:14] local.INFO: Extracted packet for processing {"connection_id":139489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:06:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:06:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:06: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-07-23 04:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:06:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:06:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":139489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:06:14] local.INFO: GPS data processed {"connection_id":139489,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:06:14] local.INFO: Acknowledgment sent {"connection_id":139489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:06:18] local.INFO: TCP Data received {"connection_id":139489,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:06:18] local.INFO: Processing buffer {"connection_id":139489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:06:18] local.INFO: Packet analysis {"connection_id":139489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:06:18] local.INFO: Extracted packet for processing {"connection_id":139489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:06:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:06:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:06:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:06:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":139489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:06:18] local.INFO: GPS data processed {"connection_id":139489,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:06:18] local.INFO: Acknowledgment sent {"connection_id":139489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:07:02] local.INFO: TCP Data received {"connection_id":141839,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:07:02] local.INFO: Processing buffer {"connection_id":141839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:07:02] local.INFO: IMEI packet received {"connection_id":141839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":141839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:07:08] local.INFO: TCP Data received {"connection_id":141839,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:07:08] local.INFO: Processing buffer {"connection_id":141839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:07:08] local.INFO: IMEI packet received {"connection_id":141839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":141839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:07:08] local.INFO: TCP Data received {"connection_id":141839,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:07:08] local.INFO: Processing buffer {"connection_id":141839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf4b128012cb29bc007823b400044003823..."} 
[2026-07-23 04:07:08] local.INFO: Packet analysis {"connection_id":141839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:07:08] local.INFO: Extracted packet for processing {"connection_id":141839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf4"} 
[2026-07-23 04:07:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":35,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898354176001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784759497000,"timestamp_ms":1784759497000,"timestamp_seconds":1784759497,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf4b128"} 
[2026-07-23 04:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898354176001,"66":25343,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898354176001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:07:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898354176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":141839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:07:08] local.INFO: GPS data processed {"connection_id":141839,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:07:08] local.INFO: Acknowledgment sent {"connection_id":141839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:07:40] local.INFO: TCP Data received {"connection_id":141839,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:07:40] local.INFO: Processing buffer {"connection_id":141839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:07:40] local.INFO: Packet analysis {"connection_id":141839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:07:40] local.INFO: Extracted packet for processing {"connection_id":141839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:07:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:07: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-07-23 04:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:07:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":141839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:07:40] local.INFO: GPS data processed {"connection_id":141839,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:07:40] local.INFO: Acknowledgment sent {"connection_id":141839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:08:02] local.INFO: TCP Data received {"connection_id":140486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:08:02] local.INFO: Processing buffer {"connection_id":140486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:08:02] local.INFO: IMEI packet received {"connection_id":140486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":140486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:08:08] local.INFO: TCP Data received {"connection_id":140486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:08:08] local.INFO: Processing buffer {"connection_id":140486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:08:08] local.INFO: IMEI packet received {"connection_id":140486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":140486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:08:09] local.INFO: TCP Data received {"connection_id":140486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:08:09] local.INFO: Processing buffer {"connection_id":140486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:08:09] local.INFO: Packet analysis {"connection_id":140486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:08:09] local.INFO: Extracted packet for processing {"connection_id":140486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:08:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:08:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":140486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:08:09] local.INFO: GPS data processed {"connection_id":140486,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:08:09] local.INFO: Acknowledgment sent {"connection_id":140486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:08:40] local.INFO: TCP Data received {"connection_id":140486,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:08:40] local.INFO: Processing buffer {"connection_id":140486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:08:40] local.INFO: Packet analysis {"connection_id":140486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:08:40] local.INFO: Extracted packet for processing {"connection_id":140486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:08: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-07-23 04:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:08:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":140486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:08:40] local.INFO: GPS data processed {"connection_id":140486,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:08:40] local.INFO: Acknowledgment sent {"connection_id":140486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:09:02] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:09:02] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:09:02] local.INFO: IMEI packet received {"connection_id":139425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":139425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:09:08] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:09:08] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:09:08] local.INFO: IMEI packet received {"connection_id":139425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":139425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:09:09] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:09:09] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:09:09] local.INFO: Packet analysis {"connection_id":139425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:09:09] local.INFO: Extracted packet for processing {"connection_id":139425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":139425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:09:09] local.INFO: GPS data processed {"connection_id":139425,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:09:09] local.INFO: Acknowledgment sent {"connection_id":139425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:09:40] local.INFO: TCP Data received {"connection_id":139425,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:09:40] local.INFO: Processing buffer {"connection_id":139425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:09:40] local.INFO: Packet analysis {"connection_id":139425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:09:40] local.INFO: Extracted packet for processing {"connection_id":139425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:09: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-07-23 04:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:09:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":139425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:09:40] local.INFO: GPS data processed {"connection_id":139425,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:09:40] local.INFO: Acknowledgment sent {"connection_id":139425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:10:02] local.INFO: TCP Data received {"connection_id":139490,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:10:02] local.INFO: Processing buffer {"connection_id":139490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:10:02] local.INFO: IMEI packet received {"connection_id":139490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":139490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:10:08] local.INFO: TCP Data received {"connection_id":139490,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:10:08] local.INFO: Processing buffer {"connection_id":139490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:10:08] local.INFO: IMEI packet received {"connection_id":139490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":139490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:10:08] local.INFO: TCP Data received {"connection_id":139490,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:10:08] local.INFO: Processing buffer {"connection_id":139490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:10:08] local.INFO: Packet analysis {"connection_id":139490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:10:08] local.INFO: Extracted packet for processing {"connection_id":139490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:10:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:10:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":139490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:10:08] local.INFO: GPS data processed {"connection_id":139490,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:10:08] local.INFO: Acknowledgment sent {"connection_id":139490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:10:40] local.INFO: TCP Data received {"connection_id":139490,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:10:40] local.INFO: Processing buffer {"connection_id":139490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:10:40] local.INFO: Packet analysis {"connection_id":139490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:10:40] local.INFO: Extracted packet for processing {"connection_id":139490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:10:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:10: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-07-23 04:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:10:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":139490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:10:40] local.INFO: GPS data processed {"connection_id":139490,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:10:40] local.INFO: Acknowledgment sent {"connection_id":139490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:11:08] local.INFO: TCP Data received {"connection_id":140487,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:11:08] local.INFO: Processing buffer {"connection_id":140487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:11:08] local.INFO: IMEI packet received {"connection_id":140487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":140487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:11:13] local.INFO: TCP Data received {"connection_id":140487,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:11:13] local.INFO: Processing buffer {"connection_id":140487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:11:13] local.INFO: IMEI packet received {"connection_id":140487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":140487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:11:14] local.INFO: TCP Data received {"connection_id":140487,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:11:14] local.INFO: Processing buffer {"connection_id":140487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:11:14] local.INFO: Packet analysis {"connection_id":140487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:11:14] local.INFO: Extracted packet for processing {"connection_id":140487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:11:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:11:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:11:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:11:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":140487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:11:14] local.INFO: GPS data processed {"connection_id":140487,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:11:14] local.INFO: Acknowledgment sent {"connection_id":140487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:11:18] local.INFO: TCP Data received {"connection_id":140487,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:11:18] local.INFO: Processing buffer {"connection_id":140487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:11:18] local.INFO: Packet analysis {"connection_id":140487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:11:18] local.INFO: Extracted packet for processing {"connection_id":140487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:11:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:11:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:11:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:11:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":140487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:11:18] local.INFO: GPS data processed {"connection_id":140487,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:11:18] local.INFO: Acknowledgment sent {"connection_id":140487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:12:03] local.INFO: TCP Data received {"connection_id":141840,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:12:03] local.INFO: Processing buffer {"connection_id":141840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:12:03] local.INFO: IMEI packet received {"connection_id":141840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":141840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:12:08] local.INFO: TCP Data received {"connection_id":141840,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:12:08] local.INFO: Processing buffer {"connection_id":141840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:12:08] local.INFO: IMEI packet received {"connection_id":141840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":141840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:12:08] local.INFO: TCP Data received {"connection_id":141840,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:12:08] local.INFO: Processing buffer {"connection_id":141840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bf948f0012cb29bc007823b400046003827..."} 
[2026-07-23 04:12:08] local.INFO: Packet analysis {"connection_id":141840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:12:08] local.INFO: Extracted packet for processing {"connection_id":141840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bf9"} 
[2026-07-23 04:12:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898431232001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784759798000,"timestamp_ms":1784759798000,"timestamp_seconds":1784759798,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bf948f0"} 
[2026-07-23 04:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-23 04:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898431232001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898431232001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:12:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898431232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":141840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:12:09] local.INFO: GPS data processed {"connection_id":141840,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:12:09] local.INFO: Acknowledgment sent {"connection_id":141840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:12:39] local.INFO: TCP Data received {"connection_id":141840,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:12:39] local.INFO: Processing buffer {"connection_id":141840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:12:39] local.INFO: Packet analysis {"connection_id":141840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:12:39] local.INFO: Extracted packet for processing {"connection_id":141840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:12:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":141840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:12:39] local.INFO: GPS data processed {"connection_id":141840,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:12:39] local.INFO: Acknowledgment sent {"connection_id":141840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:13:03] local.INFO: TCP Data received {"connection_id":139491,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:13:03] local.INFO: Processing buffer {"connection_id":139491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:13:03] local.INFO: IMEI packet received {"connection_id":139491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":139491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:13:08] local.INFO: TCP Data received {"connection_id":139491,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:13:08] local.INFO: Processing buffer {"connection_id":139491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:13:08] local.INFO: IMEI packet received {"connection_id":139491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":139491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:13:08] local.INFO: TCP Data received {"connection_id":139491,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:13:08] local.INFO: Processing buffer {"connection_id":139491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:13:08] local.INFO: Packet analysis {"connection_id":139491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:13:08] local.INFO: Extracted packet for processing {"connection_id":139491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:13:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:13:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:13:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:13:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":139491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:13:08] local.INFO: GPS data processed {"connection_id":139491,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:13:08] local.INFO: Acknowledgment sent {"connection_id":139491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:13:39] local.INFO: TCP Data received {"connection_id":139491,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:13:39] local.INFO: Processing buffer {"connection_id":139491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:13:39] local.INFO: Packet analysis {"connection_id":139491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:13:39] local.INFO: Extracted packet for processing {"connection_id":139491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:13:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":139491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:13:39] local.INFO: GPS data processed {"connection_id":139491,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:13:39] local.INFO: Acknowledgment sent {"connection_id":139491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:14:02] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:14:02] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:14:02] local.INFO: IMEI packet received {"connection_id":141841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":141841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:14:08] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:14:08] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:14:08] local.INFO: IMEI packet received {"connection_id":141841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":141841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:14:08] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:14:08] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:14:08] local.INFO: Packet analysis {"connection_id":141841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:14:08] local.INFO: Extracted packet for processing {"connection_id":141841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:14:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:14:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:14:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:14:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":141841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:14:09] local.INFO: GPS data processed {"connection_id":141841,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:14:09] local.INFO: Acknowledgment sent {"connection_id":141841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:14:40] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:14:40] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:14:40] local.INFO: Packet analysis {"connection_id":141841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:14:40] local.INFO: Extracted packet for processing {"connection_id":141841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:14:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:14:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:14:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:14:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:14:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":141841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:14:40] local.INFO: GPS data processed {"connection_id":141841,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:14:40] local.INFO: Acknowledgment sent {"connection_id":141841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:15:02] local.INFO: TCP Data received {"connection_id":140488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:15:02] local.INFO: Processing buffer {"connection_id":140488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:15:02] local.INFO: IMEI packet received {"connection_id":140488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":140488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:15:08] local.INFO: TCP Data received {"connection_id":140488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:15:08] local.INFO: Processing buffer {"connection_id":140488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:15:08] local.INFO: IMEI packet received {"connection_id":140488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":140488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:15:09] local.INFO: TCP Data received {"connection_id":140488,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:15:09] local.INFO: Processing buffer {"connection_id":140488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:15:09] local.INFO: Packet analysis {"connection_id":140488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:15:09] local.INFO: Extracted packet for processing {"connection_id":140488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:15:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:15:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:15:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:15:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":140488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:15:09] local.INFO: GPS data processed {"connection_id":140488,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:15:09] local.INFO: Acknowledgment sent {"connection_id":140488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:15:40] local.INFO: TCP Data received {"connection_id":140488,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:15:40] local.INFO: Processing buffer {"connection_id":140488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:15:40] local.INFO: Packet analysis {"connection_id":140488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:15:40] local.INFO: Extracted packet for processing {"connection_id":140488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:15:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:15:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":140488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:15:40] local.INFO: GPS data processed {"connection_id":140488,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:15:40] local.INFO: Acknowledgment sent {"connection_id":140488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:16:02] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:16:02] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:16:02] local.INFO: IMEI packet received {"connection_id":141842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":141842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:16:08] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:16:08] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:16:08] local.INFO: IMEI packet received {"connection_id":141842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":141842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:16:09] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:16:09] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:16:09] local.INFO: Packet analysis {"connection_id":141842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:16:09] local.INFO: Extracted packet for processing {"connection_id":141842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:16:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:16:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:16:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:16:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":141842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:16:09] local.INFO: GPS data processed {"connection_id":141842,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:16:09] local.INFO: Acknowledgment sent {"connection_id":141842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:16:40] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:16:40] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:16:40] local.INFO: Packet analysis {"connection_id":141842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:16:40] local.INFO: Extracted packet for processing {"connection_id":141842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:16:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":141842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:16:40] local.INFO: GPS data processed {"connection_id":141842,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:16:40] local.INFO: Acknowledgment sent {"connection_id":141842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:17:08] local.INFO: TCP Data received {"connection_id":139492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:17:08] local.INFO: Processing buffer {"connection_id":139492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:17:08] local.INFO: IMEI packet received {"connection_id":139492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":139492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:17:13] local.INFO: TCP Data received {"connection_id":139492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:17:13] local.INFO: Processing buffer {"connection_id":139492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:17:13] local.INFO: IMEI packet received {"connection_id":139492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":139492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:17:13] local.INFO: TCP Data received {"connection_id":139492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:17:14] local.INFO: Processing buffer {"connection_id":139492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:17:14] local.INFO: Packet analysis {"connection_id":139492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:17:14] local.INFO: Extracted packet for processing {"connection_id":139492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:17:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:17: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-07-23 04:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:17:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":139492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:17:14] local.INFO: GPS data processed {"connection_id":139492,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:17:14] local.INFO: Acknowledgment sent {"connection_id":139492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:17:18] local.INFO: TCP Data received {"connection_id":139492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:17:18] local.INFO: Processing buffer {"connection_id":139492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8bfde0b8012cb29bc007823b400044003826..."} 
[2026-07-23 04:17:18] local.INFO: Packet analysis {"connection_id":139492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:17:18] local.INFO: Extracted packet for processing {"connection_id":139492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8bfd"} 
[2026-07-23 04:17:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898508288001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784760099000,"timestamp_ms":1784760099000,"timestamp_seconds":1784760099,"priority":1,"record_length":96,"hex_timestamp":"0000019f8bfde0b8"} 
[2026-07-23 04:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898508288001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898508288001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:17:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898508288001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":139492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:17:18] local.INFO: GPS data processed {"connection_id":139492,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:17:18] local.INFO: Acknowledgment sent {"connection_id":139492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:18:03] local.INFO: TCP Data received {"connection_id":140489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:18:03] local.INFO: Processing buffer {"connection_id":140489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:18:03] local.INFO: IMEI packet received {"connection_id":140489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":140489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:18:08] local.INFO: TCP Data received {"connection_id":140489,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:18:08] local.INFO: Processing buffer {"connection_id":140489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:18:08] local.INFO: IMEI packet received {"connection_id":140489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":140489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:18:08] local.INFO: TCP Data received {"connection_id":140489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:18:08] local.INFO: Processing buffer {"connection_id":140489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:18:08] local.INFO: Packet analysis {"connection_id":140489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:18:08] local.INFO: Extracted packet for processing {"connection_id":140489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:18:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:18:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":140489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:18:08] local.INFO: GPS data processed {"connection_id":140489,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:18:08] local.INFO: Acknowledgment sent {"connection_id":140489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:18:40] local.INFO: TCP Data received {"connection_id":140489,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:18:40] local.INFO: Processing buffer {"connection_id":140489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:18:40] local.INFO: Packet analysis {"connection_id":140489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:18:40] local.INFO: Extracted packet for processing {"connection_id":140489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:18:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:18:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:18:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":140489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:18:40] local.INFO: GPS data processed {"connection_id":140489,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:18:40] local.INFO: Acknowledgment sent {"connection_id":140489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:19:03] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:19:03] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:19:03] local.INFO: IMEI packet received {"connection_id":141843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":141843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:19:08] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:19:08] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:19:08] local.INFO: IMEI packet received {"connection_id":141843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":141843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:19:09] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:19:09] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:19:09] local.INFO: Packet analysis {"connection_id":141843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:19:09] local.INFO: Extracted packet for processing {"connection_id":141843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:19:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:19:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:19:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:19:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":141843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:19:09] local.INFO: GPS data processed {"connection_id":141843,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:19:09] local.INFO: Acknowledgment sent {"connection_id":141843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:19:40] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:19:40] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:19:40] local.INFO: Packet analysis {"connection_id":141843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:19:40] local.INFO: Extracted packet for processing {"connection_id":141843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:19:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:19:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":141843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:19:40] local.INFO: GPS data processed {"connection_id":141843,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:19:40] local.INFO: Acknowledgment sent {"connection_id":141843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:20:02] local.INFO: TCP Data received {"connection_id":139493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:20:02] local.INFO: Processing buffer {"connection_id":139493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:20:02] local.INFO: IMEI packet received {"connection_id":139493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":139493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:20:08] local.INFO: TCP Data received {"connection_id":139493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:20:08] local.INFO: Processing buffer {"connection_id":139493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:20:08] local.INFO: IMEI packet received {"connection_id":139493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":139493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:20:09] local.INFO: TCP Data received {"connection_id":139493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:20:09] local.INFO: Processing buffer {"connection_id":139493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:20:09] local.INFO: Packet analysis {"connection_id":139493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:20:09] local.INFO: Extracted packet for processing {"connection_id":139493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:20:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:20:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:20:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:20:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":139493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:20:09] local.INFO: GPS data processed {"connection_id":139493,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:20:09] local.INFO: Acknowledgment sent {"connection_id":139493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:20:40] local.INFO: TCP Data received {"connection_id":139493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:20:40] local.INFO: Processing buffer {"connection_id":139493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:20:40] local.INFO: Packet analysis {"connection_id":139493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:20:40] local.INFO: Extracted packet for processing {"connection_id":139493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:20:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":139493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:20:40] local.INFO: GPS data processed {"connection_id":139493,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:20:40] local.INFO: Acknowledgment sent {"connection_id":139493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:21:02] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:21:02] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:21:02] local.INFO: IMEI packet received {"connection_id":139426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":139426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:21:08] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:21:08] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:21:08] local.INFO: IMEI packet received {"connection_id":139426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":139426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:21:08] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:21:08] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:21:08] local.INFO: Packet analysis {"connection_id":139426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:21:08] local.INFO: Extracted packet for processing {"connection_id":139426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:21:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:21:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":139426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:21:09] local.INFO: GPS data processed {"connection_id":139426,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:21:09] local.INFO: Acknowledgment sent {"connection_id":139426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:21:40] local.INFO: TCP Data received {"connection_id":139426,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:21:40] local.INFO: Processing buffer {"connection_id":139426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:21:40] local.INFO: Packet analysis {"connection_id":139426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:21:40] local.INFO: Extracted packet for processing {"connection_id":139426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:21:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":139426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:21:40] local.INFO: GPS data processed {"connection_id":139426,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:21:40] local.INFO: Acknowledgment sent {"connection_id":139426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:22:02] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:22:02] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:22:02] local.INFO: IMEI packet received {"connection_id":139427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":139427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:22:08] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:22:08] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:22:08] local.INFO: IMEI packet received {"connection_id":139427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":139427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:22:09] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:22:09] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c027880012cb29bc007823b400045003828..."} 
[2026-07-23 04:22:09] local.INFO: Packet analysis {"connection_id":139427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:22:09] local.INFO: Extracted packet for processing {"connection_id":139427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c02"} 
[2026-07-23 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898585344001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784760400000,"timestamp_ms":1784760400000,"timestamp_seconds":1784760400,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c027880"} 
[2026-07-23 04:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898585344001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898585344001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:22:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898585344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":139427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:22:09] local.INFO: GPS data processed {"connection_id":139427,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:22:09] local.INFO: Acknowledgment sent {"connection_id":139427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:22:40] local.INFO: TCP Data received {"connection_id":139427,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:22:40] local.INFO: Processing buffer {"connection_id":139427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:22:40] local.INFO: Packet analysis {"connection_id":139427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:22:40] local.INFO: Extracted packet for processing {"connection_id":139427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:22:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:22:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":139427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:22:40] local.INFO: GPS data processed {"connection_id":139427,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:22:40] local.INFO: Acknowledgment sent {"connection_id":139427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:23:03] local.INFO: TCP Data received {"connection_id":139494,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:23:03] local.INFO: Processing buffer {"connection_id":139494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:23:03] local.INFO: IMEI packet received {"connection_id":139494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":139494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:23:08] local.INFO: TCP Data received {"connection_id":139494,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:23:08] local.INFO: Processing buffer {"connection_id":139494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:23:08] local.INFO: IMEI packet received {"connection_id":139494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":139494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:23:08] local.INFO: TCP Data received {"connection_id":139494,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:23:08] local.INFO: Processing buffer {"connection_id":139494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:23:08] local.INFO: Packet analysis {"connection_id":139494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:23:08] local.INFO: Extracted packet for processing {"connection_id":139494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:23:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:23:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:23:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:23:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":139494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:23:08] local.INFO: GPS data processed {"connection_id":139494,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:23:08] local.INFO: Acknowledgment sent {"connection_id":139494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:23:39] local.INFO: TCP Data received {"connection_id":139494,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:23:39] local.INFO: Processing buffer {"connection_id":139494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:23:39] local.INFO: Packet analysis {"connection_id":139494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:23:39] local.INFO: Extracted packet for processing {"connection_id":139494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:23:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:23:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":139494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:23:39] local.INFO: GPS data processed {"connection_id":139494,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:23:39] local.INFO: Acknowledgment sent {"connection_id":139494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:24:03] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:24:03] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:24:03] local.INFO: IMEI packet received {"connection_id":139428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":139428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:24:08] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:24:08] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:24:08] local.INFO: IMEI packet received {"connection_id":139428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":139428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:24:08] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:24:08] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:24:08] local.INFO: Packet analysis {"connection_id":139428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:24:08] local.INFO: Extracted packet for processing {"connection_id":139428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:24:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:24:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":139428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:24:08] local.INFO: GPS data processed {"connection_id":139428,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:24:08] local.INFO: Acknowledgment sent {"connection_id":139428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:24:40] local.INFO: TCP Data received {"connection_id":139428,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:24:40] local.INFO: Processing buffer {"connection_id":139428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:24:40] local.INFO: Packet analysis {"connection_id":139428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:24:40] local.INFO: Extracted packet for processing {"connection_id":139428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:24:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:24:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:24:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":139428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:24:40] local.INFO: GPS data processed {"connection_id":139428,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:24:40] local.INFO: Acknowledgment sent {"connection_id":139428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:25:02] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:25:02] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:25:02] local.INFO: IMEI packet received {"connection_id":139429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":139429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:25:08] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:25:08] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:25:08] local.INFO: IMEI packet received {"connection_id":139429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":139429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:25:08] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:25:08] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:25:08] local.INFO: Packet analysis {"connection_id":139429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:25:08] local.INFO: Extracted packet for processing {"connection_id":139429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:25:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:25:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:25:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:25:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":139429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:25:08] local.INFO: GPS data processed {"connection_id":139429,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:25:08] local.INFO: Acknowledgment sent {"connection_id":139429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:25:40] local.INFO: TCP Data received {"connection_id":139429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:25:40] local.INFO: Processing buffer {"connection_id":139429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:25:40] local.INFO: Packet analysis {"connection_id":139429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:25:40] local.INFO: Extracted packet for processing {"connection_id":139429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:25:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:25:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:25:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":139429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:25:40] local.INFO: GPS data processed {"connection_id":139429,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:25:40] local.INFO: Acknowledgment sent {"connection_id":139429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:26:02] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:26:02] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:26:02] local.INFO: IMEI packet received {"connection_id":141844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":141844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:26:08] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:26:08] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:26:08] local.INFO: IMEI packet received {"connection_id":141844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":141844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:26:09] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:26:09] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:26:09] local.INFO: Packet analysis {"connection_id":141844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:26:09] local.INFO: Extracted packet for processing {"connection_id":141844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:26:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:26:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:26:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:26:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":141844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:26:09] local.INFO: GPS data processed {"connection_id":141844,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:26:09] local.INFO: Acknowledgment sent {"connection_id":141844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:26:40] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:26:40] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:26:40] local.INFO: Packet analysis {"connection_id":141844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:26:40] local.INFO: Extracted packet for processing {"connection_id":141844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:26:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:26:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:26:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":141844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:26:40] local.INFO: GPS data processed {"connection_id":141844,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:26:40] local.INFO: Acknowledgment sent {"connection_id":141844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:27:02] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:27:02] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:27:02] local.INFO: IMEI packet received {"connection_id":139430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":139430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:27:08] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:27:08] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:27:08] local.INFO: IMEI packet received {"connection_id":139430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":139430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:27:08] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:27:08] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c071048012cb29bc007823b400048003827..."} 
[2026-07-23 04:27:08] local.INFO: Packet analysis {"connection_id":139430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:27:08] local.INFO: Extracted packet for processing {"connection_id":139430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c07"} 
[2026-07-23 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898662400001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784760701000,"timestamp_ms":1784760701000,"timestamp_seconds":1784760701,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c071048"} 
[2026-07-23 04:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898662400001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898662400001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:27:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898662400001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":139430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:27:08] local.INFO: GPS data processed {"connection_id":139430,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:27:08] local.INFO: Acknowledgment sent {"connection_id":139430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:27:39] local.INFO: TCP Data received {"connection_id":139430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:27:39] local.INFO: Processing buffer {"connection_id":139430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:27:39] local.INFO: Packet analysis {"connection_id":139430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:27:39] local.INFO: Extracted packet for processing {"connection_id":139430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":139430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:27:39] local.INFO: GPS data processed {"connection_id":139430,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:27:39] local.INFO: Acknowledgment sent {"connection_id":139430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:28:03] local.INFO: TCP Data received {"connection_id":140490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:28:03] local.INFO: Processing buffer {"connection_id":140490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:28:03] local.INFO: IMEI packet received {"connection_id":140490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":140490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:28:08] local.INFO: TCP Data received {"connection_id":140490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:28:08] local.INFO: Processing buffer {"connection_id":140490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:28:08] local.INFO: IMEI packet received {"connection_id":140490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":140490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:28:09] local.INFO: TCP Data received {"connection_id":140490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:28:09] local.INFO: Processing buffer {"connection_id":140490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:28:09] local.INFO: Packet analysis {"connection_id":140490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:28:09] local.INFO: Extracted packet for processing {"connection_id":140490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:28:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:28:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:28:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:28:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:28:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":140490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:28:09] local.INFO: GPS data processed {"connection_id":140490,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:28:09] local.INFO: Acknowledgment sent {"connection_id":140490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:28:40] local.INFO: TCP Data received {"connection_id":140490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:28:40] local.INFO: Processing buffer {"connection_id":140490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:28:40] local.INFO: Packet analysis {"connection_id":140490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:28:40] local.INFO: Extracted packet for processing {"connection_id":140490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:28:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:28:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":140490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:28:40] local.INFO: GPS data processed {"connection_id":140490,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:28:40] local.INFO: Acknowledgment sent {"connection_id":140490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:29:03] local.INFO: TCP Data received {"connection_id":140491,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:29:03] local.INFO: Processing buffer {"connection_id":140491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:29:03] local.INFO: IMEI packet received {"connection_id":140491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":140491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:29:08] local.INFO: TCP Data received {"connection_id":140491,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:29:08] local.INFO: Processing buffer {"connection_id":140491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:29:08] local.INFO: IMEI packet received {"connection_id":140491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":140491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:29:09] local.INFO: TCP Data received {"connection_id":140491,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:29:09] local.INFO: Processing buffer {"connection_id":140491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:29:09] local.INFO: Packet analysis {"connection_id":140491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:29:09] local.INFO: Extracted packet for processing {"connection_id":140491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:29:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:29:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:29:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":140491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:29:09] local.INFO: GPS data processed {"connection_id":140491,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:29:09] local.INFO: Acknowledgment sent {"connection_id":140491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:29:40] local.INFO: TCP Data received {"connection_id":140491,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:29:40] local.INFO: Processing buffer {"connection_id":140491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:29:40] local.INFO: Packet analysis {"connection_id":140491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:29:40] local.INFO: Extracted packet for processing {"connection_id":140491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:29:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:29:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:29:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":140491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:29:40] local.INFO: GPS data processed {"connection_id":140491,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:29:40] local.INFO: Acknowledgment sent {"connection_id":140491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:30:02] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:30:02] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:30:02] local.INFO: IMEI packet received {"connection_id":141845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":141845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:30:08] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:30:08] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:30:08] local.INFO: IMEI packet received {"connection_id":141845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":141845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:30:08] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:30:09] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:30:09] local.INFO: Packet analysis {"connection_id":141845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:30:09] local.INFO: Extracted packet for processing {"connection_id":141845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:30:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:30:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:30:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:30:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":141845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:30:09] local.INFO: GPS data processed {"connection_id":141845,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:30:09] local.INFO: Acknowledgment sent {"connection_id":141845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:30:40] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:30:40] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:30:40] local.INFO: Packet analysis {"connection_id":141845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:30:40] local.INFO: Extracted packet for processing {"connection_id":141845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:30:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:30:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":141845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:30:40] local.INFO: GPS data processed {"connection_id":141845,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:30:40] local.INFO: Acknowledgment sent {"connection_id":141845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:31:02] local.INFO: TCP Data received {"connection_id":139495,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:31:02] local.INFO: Processing buffer {"connection_id":139495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:31:02] local.INFO: IMEI packet received {"connection_id":139495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":139495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:31:08] local.INFO: TCP Data received {"connection_id":139495,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:31:08] local.INFO: Processing buffer {"connection_id":139495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:31:08] local.INFO: IMEI packet received {"connection_id":139495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":139495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:31:08] local.INFO: TCP Data received {"connection_id":139495,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:31:08] local.INFO: Processing buffer {"connection_id":139495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:31:08] local.INFO: Packet analysis {"connection_id":139495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:31:08] local.INFO: Extracted packet for processing {"connection_id":139495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:31:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:31:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":139495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:31:08] local.INFO: GPS data processed {"connection_id":139495,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:31:08] local.INFO: Acknowledgment sent {"connection_id":139495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:31:40] local.INFO: TCP Data received {"connection_id":139495,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:31:40] local.INFO: Processing buffer {"connection_id":139495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:31:40] local.INFO: Packet analysis {"connection_id":139495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:31:40] local.INFO: Extracted packet for processing {"connection_id":139495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:31:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:31:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:31:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:31:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:31:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":139495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:31:40] local.INFO: GPS data processed {"connection_id":139495,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:31:40] local.INFO: Acknowledgment sent {"connection_id":139495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:32:02] local.INFO: TCP Data received {"connection_id":140492,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:32:02] local.INFO: Processing buffer {"connection_id":140492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:32:02] local.INFO: IMEI packet received {"connection_id":140492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":140492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:32:08] local.INFO: TCP Data received {"connection_id":140492,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:32:08] local.INFO: Processing buffer {"connection_id":140492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:32:08] local.INFO: IMEI packet received {"connection_id":140492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":140492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:32:09] local.INFO: TCP Data received {"connection_id":140492,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:32:09] local.INFO: Processing buffer {"connection_id":140492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c0ba810012cb29bc007823b400048003827..."} 
[2026-07-23 04:32:09] local.INFO: Packet analysis {"connection_id":140492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:32:09] local.INFO: Extracted packet for processing {"connection_id":140492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c0b"} 
[2026-07-23 04:32:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":72,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898739456001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:32:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784761002000,"timestamp_ms":1784761002000,"timestamp_seconds":1784761002,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c0ba810"} 
[2026-07-23 04:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898739456001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898739456001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:32:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:32:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:32:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898739456001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":140492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:32:09] local.INFO: GPS data processed {"connection_id":140492,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:32:09] local.INFO: Acknowledgment sent {"connection_id":140492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:32:40] local.INFO: TCP Data received {"connection_id":140492,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:32:40] local.INFO: Processing buffer {"connection_id":140492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:32:40] local.INFO: Packet analysis {"connection_id":140492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:32:40] local.INFO: Extracted packet for processing {"connection_id":140492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:32:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:32:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:32:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:32:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":140492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:32:40] local.INFO: GPS data processed {"connection_id":140492,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:32:40] local.INFO: Acknowledgment sent {"connection_id":140492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:33:02] local.INFO: TCP Data received {"connection_id":139496,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:33:02] local.INFO: Processing buffer {"connection_id":139496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:33:02] local.INFO: IMEI packet received {"connection_id":139496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":139496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:33:08] local.INFO: TCP Data received {"connection_id":139496,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:33:08] local.INFO: Processing buffer {"connection_id":139496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:33:08] local.INFO: IMEI packet received {"connection_id":139496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":139496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:33:08] local.INFO: TCP Data received {"connection_id":139496,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:33:08] local.INFO: Processing buffer {"connection_id":139496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:33:08] local.INFO: Packet analysis {"connection_id":139496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:33:08] local.INFO: Extracted packet for processing {"connection_id":139496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":139496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:33:08] local.INFO: GPS data processed {"connection_id":139496,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:33:08] local.INFO: Acknowledgment sent {"connection_id":139496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:33:40] local.INFO: TCP Data received {"connection_id":139496,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:33:40] local.INFO: Processing buffer {"connection_id":139496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:33:40] local.INFO: Packet analysis {"connection_id":139496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:33:40] local.INFO: Extracted packet for processing {"connection_id":139496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:33:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:33:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":139496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:33:40] local.INFO: GPS data processed {"connection_id":139496,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:33:40] local.INFO: Acknowledgment sent {"connection_id":139496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:34:02] local.INFO: TCP Data received {"connection_id":140493,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:34:02] local.INFO: Processing buffer {"connection_id":140493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:34:02] local.INFO: IMEI packet received {"connection_id":140493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":140493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:34:08] local.INFO: TCP Data received {"connection_id":140493,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:34:08] local.INFO: Processing buffer {"connection_id":140493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:34:08] local.INFO: IMEI packet received {"connection_id":140493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":140493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:34:08] local.INFO: TCP Data received {"connection_id":140493,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:34:08] local.INFO: Processing buffer {"connection_id":140493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:34:08] local.INFO: Packet analysis {"connection_id":140493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:34:08] local.INFO: Extracted packet for processing {"connection_id":140493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:34:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:34:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:34:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:34:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":140493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:34:09] local.INFO: GPS data processed {"connection_id":140493,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:34:09] local.INFO: Acknowledgment sent {"connection_id":140493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:34:40] local.INFO: TCP Data received {"connection_id":140493,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:34:40] local.INFO: Processing buffer {"connection_id":140493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:34:40] local.INFO: Packet analysis {"connection_id":140493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:34:40] local.INFO: Extracted packet for processing {"connection_id":140493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:34:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:34:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":140493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:34:40] local.INFO: GPS data processed {"connection_id":140493,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:34:40] local.INFO: Acknowledgment sent {"connection_id":140493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:35:08] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:35:08] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:35:08] local.INFO: IMEI packet received {"connection_id":139431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":139431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:35:13] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:35:13] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:35:13] local.INFO: IMEI packet received {"connection_id":139431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":139431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:35:13] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:35:13] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:35:13] local.INFO: Packet analysis {"connection_id":139431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:35:13] local.INFO: Extracted packet for processing {"connection_id":139431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:35:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:35:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:35:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:35:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":139431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:35:13] local.INFO: GPS data processed {"connection_id":139431,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:35:13] local.INFO: Acknowledgment sent {"connection_id":139431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:35:45] local.INFO: TCP Data received {"connection_id":139431,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:35:45] local.INFO: Processing buffer {"connection_id":139431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:35:45] local.INFO: Packet analysis {"connection_id":139431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:35:45] local.INFO: Extracted packet for processing {"connection_id":139431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:35:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:35: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-07-23 04:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":139431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":139431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":139431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:35:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":139431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:35:45] local.INFO: GPS data processed {"connection_id":139431,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:35:45] local.INFO: Acknowledgment sent {"connection_id":139431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:36:03] local.INFO: TCP Data received {"connection_id":140494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:36:03] local.INFO: Processing buffer {"connection_id":140494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:36:03] local.INFO: IMEI packet received {"connection_id":140494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":140494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:36:08] local.INFO: TCP Data received {"connection_id":140494,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:36:08] local.INFO: Processing buffer {"connection_id":140494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:36:08] local.INFO: IMEI packet received {"connection_id":140494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":140494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:36:08] local.INFO: TCP Data received {"connection_id":140494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:36:08] local.INFO: Processing buffer {"connection_id":140494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:36:08] local.INFO: Packet analysis {"connection_id":140494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:36:08] local.INFO: Extracted packet for processing {"connection_id":140494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":140494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:36:08] local.INFO: GPS data processed {"connection_id":140494,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:36:08] local.INFO: Acknowledgment sent {"connection_id":140494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:36:40] local.INFO: TCP Data received {"connection_id":140494,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:36:40] local.INFO: Processing buffer {"connection_id":140494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:36:40] local.INFO: Packet analysis {"connection_id":140494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:36:40] local.INFO: Extracted packet for processing {"connection_id":140494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:36:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:36:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":140494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:36:40] local.INFO: GPS data processed {"connection_id":140494,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:36:40] local.INFO: Acknowledgment sent {"connection_id":140494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:37:03] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:37:03] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:37:03] local.INFO: IMEI packet received {"connection_id":141846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":141846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:37:08] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:37:08] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:37:08] local.INFO: IMEI packet received {"connection_id":141846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":141846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:37:08] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:37:08] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c103fd8012cb29bc007823b40004a003826..."} 
[2026-07-23 04:37:08] local.INFO: Packet analysis {"connection_id":141846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:37:08] local.INFO: Extracted packet for processing {"connection_id":141846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c10"} 
[2026-07-23 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":74,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898816512001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:37:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761303000,"timestamp_ms":1784761303000,"timestamp_seconds":1784761303,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c103fd8"} 
[2026-07-23 04:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898816512001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898816512001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:37:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898816512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":141846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:37:09] local.INFO: GPS data processed {"connection_id":141846,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:37:09] local.INFO: Acknowledgment sent {"connection_id":141846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:37:39] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:37:39] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:37:39] local.INFO: Packet analysis {"connection_id":141846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:37:39] local.INFO: Extracted packet for processing {"connection_id":141846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:37:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:37:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":141846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:37:39] local.INFO: GPS data processed {"connection_id":141846,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:37:39] local.INFO: Acknowledgment sent {"connection_id":141846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:38:02] local.INFO: TCP Data received {"connection_id":140495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:38:02] local.INFO: Processing buffer {"connection_id":140495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:38:02] local.INFO: IMEI packet received {"connection_id":140495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":140495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:38:08] local.INFO: TCP Data received {"connection_id":140495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:38:08] local.INFO: Processing buffer {"connection_id":140495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:38:08] local.INFO: IMEI packet received {"connection_id":140495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":140495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:38:08] local.INFO: TCP Data received {"connection_id":140495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:38:08] local.INFO: Processing buffer {"connection_id":140495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:38:08] local.INFO: Packet analysis {"connection_id":140495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:38:08] local.INFO: Extracted packet for processing {"connection_id":140495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:38:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:38:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":140495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:38:09] local.INFO: GPS data processed {"connection_id":140495,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:38:09] local.INFO: Acknowledgment sent {"connection_id":140495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:38:44] local.INFO: TCP Data received {"connection_id":140495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:38:44] local.INFO: Processing buffer {"connection_id":140495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:38:44] local.INFO: Packet analysis {"connection_id":140495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:38:44] local.INFO: Extracted packet for processing {"connection_id":140495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:38:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:38:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:38:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:38:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":140495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:38:44] local.INFO: GPS data processed {"connection_id":140495,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:38:44] local.INFO: Acknowledgment sent {"connection_id":140495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:39:08] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:39:08] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:39:08] local.INFO: IMEI packet received {"connection_id":139432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":139432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:39:13] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:39:13] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:39:13] local.INFO: IMEI packet received {"connection_id":139432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":139432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:39:13] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:39:13] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:39:13] local.INFO: Packet analysis {"connection_id":139432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:39:13] local.INFO: Extracted packet for processing {"connection_id":139432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:39:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":139432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:39:13] local.INFO: GPS data processed {"connection_id":139432,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:39:13] local.INFO: Acknowledgment sent {"connection_id":139432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:39:18] local.INFO: TCP Data received {"connection_id":139432,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:39:18] local.INFO: Processing buffer {"connection_id":139432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:39:18] local.INFO: Packet analysis {"connection_id":139432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:39:18] local.INFO: Extracted packet for processing {"connection_id":139432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:39:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:39:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:39:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:39:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":139432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:39:18] local.INFO: GPS data processed {"connection_id":139432,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:39:18] local.INFO: Acknowledgment sent {"connection_id":139432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:40:03] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:40:03] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:40:03] local.INFO: IMEI packet received {"connection_id":141847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":141847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:40:08] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:40:08] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:40:08] local.INFO: IMEI packet received {"connection_id":141847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":141847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:40:08] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:40:08] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:40:08] local.INFO: Packet analysis {"connection_id":141847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:40:08] local.INFO: Extracted packet for processing {"connection_id":141847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:40:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:40:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:40:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:40:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":141847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:40:08] local.INFO: GPS data processed {"connection_id":141847,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:40:08] local.INFO: Acknowledgment sent {"connection_id":141847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:40:44] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:40:44] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:40:44] local.INFO: Packet analysis {"connection_id":141847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:40:44] local.INFO: Extracted packet for processing {"connection_id":141847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:40:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:40:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":141847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:40:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":141847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:40:44] local.INFO: GPS data processed {"connection_id":141847,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:40:44] local.INFO: Acknowledgment sent {"connection_id":141847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:41:02] local.INFO: TCP Data received {"connection_id":140496,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:41:02] local.INFO: Processing buffer {"connection_id":140496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:41:02] local.INFO: IMEI packet received {"connection_id":140496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":140496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:41:09] local.INFO: TCP Data received {"connection_id":140496,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:41:09] local.INFO: Processing buffer {"connection_id":140496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:41:09] local.INFO: IMEI packet received {"connection_id":140496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":140496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:41:10] local.INFO: TCP Data received {"connection_id":140496,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:41:10] local.INFO: Processing buffer {"connection_id":140496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:41:10] local.INFO: Packet analysis {"connection_id":140496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:41:10] local.INFO: Extracted packet for processing {"connection_id":140496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":140496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":140496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":140496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":140496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:41:10] local.INFO: GPS data processed {"connection_id":140496,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:41:10] local.INFO: Acknowledgment sent {"connection_id":140496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:41:41] local.INFO: TCP Data received {"connection_id":140496,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:41:41] local.INFO: Processing buffer {"connection_id":140496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:41:41] local.INFO: Packet analysis {"connection_id":140496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:41:41] local.INFO: Extracted packet for processing {"connection_id":140496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:41:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":140496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:41:41] local.INFO: GPS data processed {"connection_id":140496,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:41:41] local.INFO: Acknowledgment sent {"connection_id":140496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:42:03] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:42:03] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:42:03] local.INFO: IMEI packet received {"connection_id":139433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":139433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:42:08] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:42:08] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:42:08] local.INFO: IMEI packet received {"connection_id":139433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":139433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:42:08] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:42:08] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c14d7a0012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:42:08] local.INFO: Packet analysis {"connection_id":139433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:42:08] local.INFO: Extracted packet for processing {"connection_id":139433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c14"} 
[2026-07-23 04:42:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898893568001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761604000,"timestamp_ms":1784761604000,"timestamp_seconds":1784761604,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c14d7a0"} 
[2026-07-23 04:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898893568001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898893568001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:42:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898893568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":139433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:42:08] local.INFO: GPS data processed {"connection_id":139433,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:42:08] local.INFO: Acknowledgment sent {"connection_id":139433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:42:42] local.INFO: TCP Data received {"connection_id":139433,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:42:42] local.INFO: Processing buffer {"connection_id":139433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:42:42] local.INFO: Packet analysis {"connection_id":139433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:42:42] local.INFO: Extracted packet for processing {"connection_id":139433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":139433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:42:42] local.INFO: GPS data processed {"connection_id":139433,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:42:42] local.INFO: Acknowledgment sent {"connection_id":139433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:43:02] local.INFO: TCP Data received {"connection_id":140497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:43:02] local.INFO: Processing buffer {"connection_id":140497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:43:03] local.INFO: IMEI packet received {"connection_id":140497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":140497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:43:09] local.INFO: TCP Data received {"connection_id":140497,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:43:09] local.INFO: Processing buffer {"connection_id":140497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:43:09] local.INFO: IMEI packet received {"connection_id":140497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":140497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:43:10] local.INFO: TCP Data received {"connection_id":140497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:43:10] local.INFO: Processing buffer {"connection_id":140497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:43:10] local.INFO: Packet analysis {"connection_id":140497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:43:10] local.INFO: Extracted packet for processing {"connection_id":140497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:43: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":140497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":140497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":140497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":140497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:43:10] local.INFO: GPS data processed {"connection_id":140497,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:43:10] local.INFO: Acknowledgment sent {"connection_id":140497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:43:41] local.INFO: TCP Data received {"connection_id":140497,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:43:41] local.INFO: Processing buffer {"connection_id":140497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:43:41] local.INFO: Packet analysis {"connection_id":140497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:43:41] local.INFO: Extracted packet for processing {"connection_id":140497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:43:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":140497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:43:41] local.INFO: GPS data processed {"connection_id":140497,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:43:41] local.INFO: Acknowledgment sent {"connection_id":140497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:44:03] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:44:03] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:44:03] local.INFO: IMEI packet received {"connection_id":139434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":139434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:44:08] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:44:08] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:44:08] local.INFO: IMEI packet received {"connection_id":139434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":139434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:44:08] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:44:08] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:44:08] local.INFO: Packet analysis {"connection_id":139434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:44:08] local.INFO: Extracted packet for processing {"connection_id":139434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:44:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:44:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:44:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":139434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:44:08] local.INFO: GPS data processed {"connection_id":139434,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:44:08] local.INFO: Acknowledgment sent {"connection_id":139434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:44:44] local.INFO: TCP Data received {"connection_id":139434,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:44:44] local.INFO: Processing buffer {"connection_id":139434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:44:44] local.INFO: Packet analysis {"connection_id":139434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:44:44] local.INFO: Extracted packet for processing {"connection_id":139434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:44:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:44:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":139434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":139434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:44:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:44:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":139434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:44:44] local.INFO: GPS data processed {"connection_id":139434,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:44:44] local.INFO: Acknowledgment sent {"connection_id":139434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:45:02] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:45:02] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:45:02] local.INFO: IMEI packet received {"connection_id":141848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":141848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:45:08] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:45:08] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:45:08] local.INFO: IMEI packet received {"connection_id":141848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":141848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:45:08] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:45:08] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:45:08] local.INFO: Packet analysis {"connection_id":141848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:45:08] local.INFO: Extracted packet for processing {"connection_id":141848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:45:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:45:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":141848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:45:09] local.INFO: GPS data processed {"connection_id":141848,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:45:09] local.INFO: Acknowledgment sent {"connection_id":141848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:45:40] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:45:40] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:45:40] local.INFO: Packet analysis {"connection_id":141848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:45:40] local.INFO: Extracted packet for processing {"connection_id":141848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:45:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:45:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":141848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:45:40] local.INFO: GPS data processed {"connection_id":141848,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:45:40] local.INFO: Acknowledgment sent {"connection_id":141848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:46:02] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:46:02] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:46:02] local.INFO: IMEI packet received {"connection_id":141849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":141849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:46:08] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:46:08] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:46:08] local.INFO: IMEI packet received {"connection_id":141849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":141849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:46:08] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:46:08] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:46:08] local.INFO: Packet analysis {"connection_id":141849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:46:08] local.INFO: Extracted packet for processing {"connection_id":141849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:46:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:46:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":141849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:46:08] local.INFO: GPS data processed {"connection_id":141849,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:46:08] local.INFO: Acknowledgment sent {"connection_id":141849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:46:40] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:46:40] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:46:40] local.INFO: Packet analysis {"connection_id":141849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:46:40] local.INFO: Extracted packet for processing {"connection_id":141849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:46:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:46:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":141849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:46:40] local.INFO: GPS data processed {"connection_id":141849,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:46:40] local.INFO: Acknowledgment sent {"connection_id":141849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:47:02] local.INFO: TCP Data received {"connection_id":140498,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:47:02] local.INFO: Processing buffer {"connection_id":140498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:47:02] local.INFO: IMEI packet received {"connection_id":140498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":140498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:47:08] local.INFO: TCP Data received {"connection_id":140498,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:47:08] local.INFO: Processing buffer {"connection_id":140498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:47:08] local.INFO: IMEI packet received {"connection_id":140498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":140498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:47:09] local.INFO: TCP Data received {"connection_id":140498,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:47:09] local.INFO: Processing buffer {"connection_id":140498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c196f68012cb29bc007823b40004c003827..."} 
[2026-07-23 04:47:09] local.INFO: Packet analysis {"connection_id":140498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:47:09] local.INFO: Extracted packet for processing {"connection_id":140498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c19"} 
[2026-07-23 04:47:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456898970624001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784761905000,"timestamp_ms":1784761905000,"timestamp_seconds":1784761905,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c196f68"} 
[2026-07-23 04:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456898970624001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456898970624001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:47:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456898970624001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":140498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:47:09] local.INFO: GPS data processed {"connection_id":140498,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:47:09] local.INFO: Acknowledgment sent {"connection_id":140498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:47:42] local.INFO: TCP Data received {"connection_id":140498,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:47:42] local.INFO: Processing buffer {"connection_id":140498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:47:42] local.INFO: Packet analysis {"connection_id":140498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:47:42] local.INFO: Extracted packet for processing {"connection_id":140498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":140498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:47:42] local.INFO: GPS data processed {"connection_id":140498,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:47:42] local.INFO: Acknowledgment sent {"connection_id":140498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:48:03] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:48:03] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:48:03] local.INFO: IMEI packet received {"connection_id":139435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":139435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:48:08] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:48:08] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:48:08] local.INFO: IMEI packet received {"connection_id":139435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":139435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:48:09] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:48:09] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:48:09] local.INFO: Packet analysis {"connection_id":139435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:48:09] local.INFO: Extracted packet for processing {"connection_id":139435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:48:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:48:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:48:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:48:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":139435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:48:09] local.INFO: GPS data processed {"connection_id":139435,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:48:09] local.INFO: Acknowledgment sent {"connection_id":139435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:48:40] local.INFO: TCP Data received {"connection_id":139435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:48:40] local.INFO: Processing buffer {"connection_id":139435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:48:40] local.INFO: Packet analysis {"connection_id":139435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:48:40] local.INFO: Extracted packet for processing {"connection_id":139435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:48:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":139435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:48:40] local.INFO: GPS data processed {"connection_id":139435,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:48:40] local.INFO: Acknowledgment sent {"connection_id":139435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:49:02] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:49:02] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:49:02] local.INFO: IMEI packet received {"connection_id":141850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":141850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:49:08] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:49:08] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:49:08] local.INFO: IMEI packet received {"connection_id":141850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":141850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:49:08] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:49:08] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:49:08] local.INFO: Packet analysis {"connection_id":141850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:49:08] local.INFO: Extracted packet for processing {"connection_id":141850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:49:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:49:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:49:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:49:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":141850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:49:08] local.INFO: GPS data processed {"connection_id":141850,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:49:08] local.INFO: Acknowledgment sent {"connection_id":141850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:49:42] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:49:42] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:49:42] local.INFO: Packet analysis {"connection_id":141850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:49:42] local.INFO: Extracted packet for processing {"connection_id":141850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":141850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:49:42] local.INFO: GPS data processed {"connection_id":141850,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:49:42] local.INFO: Acknowledgment sent {"connection_id":141850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:50:04] local.INFO: TCP Data received {"connection_id":139497,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:50:04] local.INFO: Processing buffer {"connection_id":139497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:50:04] local.INFO: IMEI packet received {"connection_id":139497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":139497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:50:08] local.INFO: TCP Data received {"connection_id":139497,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:50:08] local.INFO: Processing buffer {"connection_id":139497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:50:08] local.INFO: IMEI packet received {"connection_id":139497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":139497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:50:09] local.INFO: TCP Data received {"connection_id":139497,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:50:09] local.INFO: Processing buffer {"connection_id":139497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:50:09] local.INFO: Packet analysis {"connection_id":139497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:50:09] local.INFO: Extracted packet for processing {"connection_id":139497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:50:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:50:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:50:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":139497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:50:09] local.INFO: GPS data processed {"connection_id":139497,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:50:09] local.INFO: Acknowledgment sent {"connection_id":139497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:50:45] local.INFO: TCP Data received {"connection_id":139497,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:50:45] local.INFO: Processing buffer {"connection_id":139497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:50:45] local.INFO: Packet analysis {"connection_id":139497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:50:45] local.INFO: Extracted packet for processing {"connection_id":139497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:50:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:50:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":139497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":139497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":139497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:50:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:50:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":139497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:50:45] local.INFO: GPS data processed {"connection_id":139497,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:50:45] local.INFO: Acknowledgment sent {"connection_id":139497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:51:02] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:51:02] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:51:02] local.INFO: IMEI packet received {"connection_id":139436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":139436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:51:08] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:51:08] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:51:08] local.INFO: IMEI packet received {"connection_id":139436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":139436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:51:08] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:51:08] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:51:08] local.INFO: Packet analysis {"connection_id":139436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:51:08] local.INFO: Extracted packet for processing {"connection_id":139436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:51:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:51:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":139436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:51:08] local.INFO: GPS data processed {"connection_id":139436,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:51:08] local.INFO: Acknowledgment sent {"connection_id":139436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:51:40] local.INFO: TCP Data received {"connection_id":139436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:51:40] local.INFO: Processing buffer {"connection_id":139436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:51:40] local.INFO: Packet analysis {"connection_id":139436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:51:40] local.INFO: Extracted packet for processing {"connection_id":139436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":139436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:51:40] local.INFO: GPS data processed {"connection_id":139436,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:51:40] local.INFO: Acknowledgment sent {"connection_id":139436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:52:02] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:52:02] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:52:02] local.INFO: IMEI packet received {"connection_id":141851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":141851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:52:08] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:52:08] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:52:08] local.INFO: IMEI packet received {"connection_id":141851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":141851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:52:08] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:52:08] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c1e0730012cb29bc007823b40004b00382a..."} 
[2026-07-23 04:52:08] local.INFO: Packet analysis {"connection_id":141851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:52:08] local.INFO: Extracted packet for processing {"connection_id":141851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c1e"} 
[2026-07-23 04:52:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899047680001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:52:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762206000,"timestamp_ms":1784762206000,"timestamp_seconds":1784762206,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c1e0730"} 
[2026-07-23 04:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899047680001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899047680001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:52:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:52:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899047680001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":141851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:52:08] local.INFO: GPS data processed {"connection_id":141851,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:52:08] local.INFO: Acknowledgment sent {"connection_id":141851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:52:42] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:52:42] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:52:42] local.INFO: Packet analysis {"connection_id":141851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:52:42] local.INFO: Extracted packet for processing {"connection_id":141851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":141851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:52:42] local.INFO: GPS data processed {"connection_id":141851,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:52:42] local.INFO: Acknowledgment sent {"connection_id":141851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:53:02] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:53:02] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:53:02] local.INFO: IMEI packet received {"connection_id":141852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":141852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:53:08] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:53:08] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:53:08] local.INFO: IMEI packet received {"connection_id":141852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":141852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:53:09] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:53:09] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:53:09] local.INFO: Packet analysis {"connection_id":141852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:53:09] local.INFO: Extracted packet for processing {"connection_id":141852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:53:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:53:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":141852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:53:09] local.INFO: GPS data processed {"connection_id":141852,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:53:09] local.INFO: Acknowledgment sent {"connection_id":141852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:53:40] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:53:40] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:53:40] local.INFO: Packet analysis {"connection_id":141852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:53:40] local.INFO: Extracted packet for processing {"connection_id":141852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:53:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:53:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:53:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:53:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":141852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:53:40] local.INFO: GPS data processed {"connection_id":141852,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:53:40] local.INFO: Acknowledgment sent {"connection_id":141852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:54:03] local.INFO: TCP Data received {"connection_id":140499,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:54:03] local.INFO: Processing buffer {"connection_id":140499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:54:03] local.INFO: IMEI packet received {"connection_id":140499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":140499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:54:08] local.INFO: TCP Data received {"connection_id":140499,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:54:08] local.INFO: Processing buffer {"connection_id":140499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:54:08] local.INFO: IMEI packet received {"connection_id":140499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":140499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:54:08] local.INFO: TCP Data received {"connection_id":140499,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:54:08] local.INFO: Processing buffer {"connection_id":140499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:54:08] local.INFO: Packet analysis {"connection_id":140499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:54:08] local.INFO: Extracted packet for processing {"connection_id":140499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:54:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:54:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:54:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:54:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":140499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:54:08] local.INFO: GPS data processed {"connection_id":140499,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:54:08] local.INFO: Acknowledgment sent {"connection_id":140499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:54:40] local.INFO: TCP Data received {"connection_id":140499,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:54:40] local.INFO: Processing buffer {"connection_id":140499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:54:40] local.INFO: Packet analysis {"connection_id":140499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:54:40] local.INFO: Extracted packet for processing {"connection_id":140499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:54:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:54:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":140499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:54:40] local.INFO: GPS data processed {"connection_id":140499,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:54:40] local.INFO: Acknowledgment sent {"connection_id":140499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:55:03] local.INFO: TCP Data received {"connection_id":140500,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:55:03] local.INFO: Processing buffer {"connection_id":140500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:55:03] local.INFO: IMEI packet received {"connection_id":140500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":140500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:55:08] local.INFO: TCP Data received {"connection_id":140500,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:55:08] local.INFO: Processing buffer {"connection_id":140500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:55:08] local.INFO: IMEI packet received {"connection_id":140500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":140500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:55:08] local.INFO: TCP Data received {"connection_id":140500,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:55:08] local.INFO: Processing buffer {"connection_id":140500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:55:08] local.INFO: Packet analysis {"connection_id":140500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:55:08] local.INFO: Extracted packet for processing {"connection_id":140500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:55:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:55:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":140500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:55:08] local.INFO: GPS data processed {"connection_id":140500,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:55:08] local.INFO: Acknowledgment sent {"connection_id":140500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:55:42] local.INFO: TCP Data received {"connection_id":140500,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:55:42] local.INFO: Processing buffer {"connection_id":140500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:55:42] local.INFO: Packet analysis {"connection_id":140500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:55:42] local.INFO: Extracted packet for processing {"connection_id":140500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":140500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:55:42] local.INFO: GPS data processed {"connection_id":140500,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:55:42] local.INFO: Acknowledgment sent {"connection_id":140500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:56:02] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:56:02] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:56:02] local.INFO: IMEI packet received {"connection_id":141853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":141853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:56:08] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:56:08] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:56:08] local.INFO: IMEI packet received {"connection_id":141853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":141853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:56:08] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:56:08] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:56:08] local.INFO: Packet analysis {"connection_id":141853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:56:08] local.INFO: Extracted packet for processing {"connection_id":141853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:56:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:56:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:56:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:56:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":141853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:56:08] local.INFO: GPS data processed {"connection_id":141853,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:56:08] local.INFO: Acknowledgment sent {"connection_id":141853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:56:39] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:56:39] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:56:39] local.INFO: Packet analysis {"connection_id":141853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:56:39] local.INFO: Extracted packet for processing {"connection_id":141853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:56:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:56:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":141853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:56:39] local.INFO: GPS data processed {"connection_id":141853,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:56:39] local.INFO: Acknowledgment sent {"connection_id":141853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:57:02] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:57:02] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:57:02] local.INFO: IMEI packet received {"connection_id":139437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":139437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:57:08] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:57:08] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:57:08] local.INFO: IMEI packet received {"connection_id":139437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":139437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:57:08] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:57:08] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c229ef8012cb29bc007823b40004c00382a..."} 
[2026-07-23 04:57:08] local.INFO: Packet analysis {"connection_id":139437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:57:08] local.INFO: Extracted packet for processing {"connection_id":139437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c22"} 
[2026-07-23 04:57:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":76,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899124736001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:57:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762507000,"timestamp_ms":1784762507000,"timestamp_seconds":1784762507,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c229ef8"} 
[2026-07-23 04:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899124736001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899124736001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:57:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:57:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899124736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":139437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:57:08] local.INFO: GPS data processed {"connection_id":139437,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:57:08] local.INFO: Acknowledgment sent {"connection_id":139437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:57:42] local.INFO: TCP Data received {"connection_id":139437,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:57:42] local.INFO: Processing buffer {"connection_id":139437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:57:42] local.INFO: Packet analysis {"connection_id":139437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:57:42] local.INFO: Extracted packet for processing {"connection_id":139437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 04:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":139437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:57:42] local.INFO: GPS data processed {"connection_id":139437,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:57:42] local.INFO: Acknowledgment sent {"connection_id":139437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:58:03] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:58:03] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:58:03] local.INFO: IMEI packet received {"connection_id":139438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":139438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:58:08] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:58:08] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:58:08] local.INFO: IMEI packet received {"connection_id":139438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":139438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:58:08] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:58:08] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:58:08] local.INFO: Packet analysis {"connection_id":139438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:58:08] local.INFO: Extracted packet for processing {"connection_id":139438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:58:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 04:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:58:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":139438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:58:08] local.INFO: GPS data processed {"connection_id":139438,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:58:08] local.INFO: Acknowledgment sent {"connection_id":139438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:58:39] local.INFO: TCP Data received {"connection_id":139438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:58:39] local.INFO: Processing buffer {"connection_id":139438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:58:39] local.INFO: Packet analysis {"connection_id":139438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:58:39] local.INFO: Extracted packet for processing {"connection_id":139438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:58:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:58:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 04:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:58:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:58:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":139438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:58:39] local.INFO: GPS data processed {"connection_id":139438,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:58:39] local.INFO: Acknowledgment sent {"connection_id":139438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:59:03] local.INFO: TCP Data received {"connection_id":139498,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:59:03] local.INFO: Processing buffer {"connection_id":139498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:59:03] local.INFO: IMEI packet received {"connection_id":139498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 04:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":139498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 04:59:08] local.INFO: TCP Data received {"connection_id":139498,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:59:08] local.INFO: Processing buffer {"connection_id":139498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 04:59:08] local.INFO: IMEI packet received {"connection_id":139498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 04:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":139498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 04:59:09] local.INFO: TCP Data received {"connection_id":139498,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:59:09] local.INFO: Processing buffer {"connection_id":139498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:59:09] local.INFO: Packet analysis {"connection_id":139498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:59:09] local.INFO: Extracted packet for processing {"connection_id":139498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:59:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04: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-07-23 04:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:59:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 04:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04: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-07-23 04:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:59:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:59:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":139498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:59:09] local.INFO: GPS data processed {"connection_id":139498,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:59:09] local.INFO: Acknowledgment sent {"connection_id":139498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 04:59:40] local.INFO: TCP Data received {"connection_id":139498,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:59:40] local.INFO: Processing buffer {"connection_id":139498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 04:59:40] local.INFO: Packet analysis {"connection_id":139498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:59:40] local.INFO: Extracted packet for processing {"connection_id":139498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 04:59:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 04:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 04:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 04:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 04:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 04:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 04:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 04:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 04:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 04:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 04:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 04:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 04:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 04:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 04:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 04:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 04:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 04:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 04:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 04:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 04:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 04:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 04:59:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 04:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 04:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 04:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 04:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 04:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":139498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 04:59:40] local.INFO: GPS data processed {"connection_id":139498,"processed":1,"errors":0,"total":1} 
[2026-07-23 04:59:40] local.INFO: Acknowledgment sent {"connection_id":139498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:00:04] local.INFO: TCP Data received {"connection_id":140501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:00:04] local.INFO: Processing buffer {"connection_id":140501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:00:04] local.INFO: IMEI packet received {"connection_id":140501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":140501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:00:08] local.INFO: TCP Data received {"connection_id":140501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:00:08] local.INFO: Processing buffer {"connection_id":140501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:00:08] local.INFO: IMEI packet received {"connection_id":140501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":140501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:00:09] local.INFO: TCP Data received {"connection_id":140501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:00:09] local.INFO: Processing buffer {"connection_id":140501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:00:09] local.INFO: Packet analysis {"connection_id":140501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:00:09] local.INFO: Extracted packet for processing {"connection_id":140501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:00:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 05:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:00:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":140501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:00:09] local.INFO: GPS data processed {"connection_id":140501,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:00:09] local.INFO: Acknowledgment sent {"connection_id":140501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:00:43] local.INFO: TCP Data received {"connection_id":140501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:00:43] local.INFO: Processing buffer {"connection_id":140501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:00:43] local.INFO: Packet analysis {"connection_id":140501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:00:43] local.INFO: Extracted packet for processing {"connection_id":140501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 05:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:00: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-07-23 05:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":140501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":140501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":140501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":140501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:00:43] local.INFO: GPS data processed {"connection_id":140501,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:00:43] local.INFO: Acknowledgment sent {"connection_id":140501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:01:02] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:01:02] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:01:02] local.INFO: IMEI packet received {"connection_id":141854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":141854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:01:08] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:01:08] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:01:08] local.INFO: IMEI packet received {"connection_id":141854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":141854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:01:08] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:01:08] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:01:08] local.INFO: Packet analysis {"connection_id":141854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:01:08] local.INFO: Extracted packet for processing {"connection_id":141854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:01:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 05:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:01:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":141854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:01:08] local.INFO: GPS data processed {"connection_id":141854,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:01:08] local.INFO: Acknowledgment sent {"connection_id":141854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:01:40] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:01:40] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:01:40] local.INFO: Packet analysis {"connection_id":141854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:01:40] local.INFO: Extracted packet for processing {"connection_id":141854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:01:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 05:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:01:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":141854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:01:40] local.INFO: GPS data processed {"connection_id":141854,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:01:40] local.INFO: Acknowledgment sent {"connection_id":141854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:02:02] local.INFO: TCP Data received {"connection_id":140502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:02:02] local.INFO: Processing buffer {"connection_id":140502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:02:02] local.INFO: IMEI packet received {"connection_id":140502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":140502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:02:08] local.INFO: TCP Data received {"connection_id":140502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:02:08] local.INFO: Processing buffer {"connection_id":140502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:02:08] local.INFO: IMEI packet received {"connection_id":140502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":140502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:02:08] local.INFO: TCP Data received {"connection_id":140502,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:02:08] local.INFO: Processing buffer {"connection_id":140502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2736c0012cb29bc007823b40004b003828..."} 
[2026-07-23 05:02:08] local.INFO: Packet analysis {"connection_id":140502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:02:08] local.INFO: Extracted packet for processing {"connection_id":140502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c27"} 
[2026-07-23 05:02:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899201792001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:02:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784762808000,"timestamp_ms":1784762808000,"timestamp_seconds":1784762808,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2736c0"} 
[2026-07-23 05:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899201792001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899201792001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:02:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:02:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899201792001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":140502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:02:08] local.INFO: GPS data processed {"connection_id":140502,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:02:08] local.INFO: Acknowledgment sent {"connection_id":140502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:02:39] local.INFO: TCP Data received {"connection_id":140502,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:02:39] local.INFO: Processing buffer {"connection_id":140502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:02:39] local.INFO: Packet analysis {"connection_id":140502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:02:39] local.INFO: Extracted packet for processing {"connection_id":140502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:02:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:02:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:02:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:02:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:02:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":140502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:02:39] local.INFO: GPS data processed {"connection_id":140502,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:02:39] local.INFO: Acknowledgment sent {"connection_id":140502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:03:02] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:03:02] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:03:02] local.INFO: IMEI packet received {"connection_id":141855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":141855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:03:08] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:03:08] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:03:08] local.INFO: IMEI packet received {"connection_id":141855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":141855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:03:08] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:03:08] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:03:08] local.INFO: Packet analysis {"connection_id":141855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:03:08] local.INFO: Extracted packet for processing {"connection_id":141855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:03:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:03:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":141855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:03:08] local.INFO: GPS data processed {"connection_id":141855,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:03:08] local.INFO: Acknowledgment sent {"connection_id":141855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:03:40] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:03:40] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:03:40] local.INFO: Packet analysis {"connection_id":141855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:03:40] local.INFO: Extracted packet for processing {"connection_id":141855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:03:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":141855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:03:40] local.INFO: GPS data processed {"connection_id":141855,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:03:40] local.INFO: Acknowledgment sent {"connection_id":141855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:04:03] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:04:03] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:04:03] local.INFO: IMEI packet received {"connection_id":141856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":141856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:04:08] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:04:08] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:04:08] local.INFO: IMEI packet received {"connection_id":141856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":141856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:04:08] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:04:08] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:04:08] local.INFO: Packet analysis {"connection_id":141856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:04:08] local.INFO: Extracted packet for processing {"connection_id":141856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:04:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:04:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:04:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":141856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:04:08] local.INFO: GPS data processed {"connection_id":141856,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:04:08] local.INFO: Acknowledgment sent {"connection_id":141856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:04:40] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:04:40] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:04:40] local.INFO: Packet analysis {"connection_id":141856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:04:40] local.INFO: Extracted packet for processing {"connection_id":141856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":141856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:04:40] local.INFO: GPS data processed {"connection_id":141856,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:04:40] local.INFO: Acknowledgment sent {"connection_id":141856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:05:03] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:05:03] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:05:03] local.INFO: IMEI packet received {"connection_id":139439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":139439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:05:08] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:05:08] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:05:08] local.INFO: IMEI packet received {"connection_id":139439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":139439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:05:08] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:05:08] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:05:08] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:05:08] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:05:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:05:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:05:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:05:08] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:05:08] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:05:42] local.INFO: TCP Data received {"connection_id":139439,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:05:42] local.INFO: Processing buffer {"connection_id":139439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:05:42] local.INFO: Packet analysis {"connection_id":139439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:05:42] local.INFO: Extracted packet for processing {"connection_id":139439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":139439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:05:42] local.INFO: GPS data processed {"connection_id":139439,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:05:42] local.INFO: Acknowledgment sent {"connection_id":139439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:06:02] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:06:02] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:06:02] local.INFO: IMEI packet received {"connection_id":139440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":139440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:06:08] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:06:08] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:06:08] local.INFO: IMEI packet received {"connection_id":139440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":139440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:06:08] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:06:08] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:06:08] local.INFO: Packet analysis {"connection_id":139440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:06:08] local.INFO: Extracted packet for processing {"connection_id":139440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:06:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:06:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:06:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":139440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:06:08] local.INFO: GPS data processed {"connection_id":139440,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:06:08] local.INFO: Acknowledgment sent {"connection_id":139440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:06:40] local.INFO: TCP Data received {"connection_id":139440,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:06:40] local.INFO: Processing buffer {"connection_id":139440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:06:40] local.INFO: Packet analysis {"connection_id":139440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:06:40] local.INFO: Extracted packet for processing {"connection_id":139440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:06:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:06:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":139440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:06:40] local.INFO: GPS data processed {"connection_id":139440,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:06:40] local.INFO: Acknowledgment sent {"connection_id":139440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:07:02] local.INFO: TCP Data received {"connection_id":140503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:07:02] local.INFO: Processing buffer {"connection_id":140503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:07:02] local.INFO: IMEI packet received {"connection_id":140503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":140503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:07:07] local.INFO: TCP Data received {"connection_id":140503,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:07:07] local.INFO: Processing buffer {"connection_id":140503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:07:07] local.INFO: IMEI packet received {"connection_id":140503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":140503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:07:08] local.INFO: TCP Data received {"connection_id":140503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:07:08] local.INFO: Processing buffer {"connection_id":140503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c2bce88012cb29bc007823b400049003828..."} 
[2026-07-23 05:07:08] local.INFO: Packet analysis {"connection_id":140503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:07:08] local.INFO: Extracted packet for processing {"connection_id":140503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c2b"} 
[2026-07-23 05:07:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899278848001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763109000,"timestamp_ms":1784763109000,"timestamp_seconds":1784763109,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c2bce88"} 
[2026-07-23 05:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899278848001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899278848001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899278848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":140503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:07:08] local.INFO: GPS data processed {"connection_id":140503,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:07:08] local.INFO: Acknowledgment sent {"connection_id":140503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:07:41] local.INFO: TCP Data received {"connection_id":140503,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:07:41] local.INFO: Processing buffer {"connection_id":140503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:07:41] local.INFO: Packet analysis {"connection_id":140503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:07:41] local.INFO: Extracted packet for processing {"connection_id":140503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":140503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:07:41] local.INFO: GPS data processed {"connection_id":140503,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:07:41] local.INFO: Acknowledgment sent {"connection_id":140503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:08:02] local.INFO: TCP Data received {"connection_id":139499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:08:02] local.INFO: Processing buffer {"connection_id":139499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:08:02] local.INFO: IMEI packet received {"connection_id":139499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":139499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:08:08] local.INFO: TCP Data received {"connection_id":139499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:08:08] local.INFO: Processing buffer {"connection_id":139499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:08:08] local.INFO: IMEI packet received {"connection_id":139499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":139499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:08:09] local.INFO: TCP Data received {"connection_id":139499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:08:09] local.INFO: Processing buffer {"connection_id":139499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:08:09] local.INFO: Packet analysis {"connection_id":139499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:08:09] local.INFO: Extracted packet for processing {"connection_id":139499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:08:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":139499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:08:09] local.INFO: GPS data processed {"connection_id":139499,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:08:09] local.INFO: Acknowledgment sent {"connection_id":139499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:08:40] local.INFO: TCP Data received {"connection_id":139499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:08:40] local.INFO: Processing buffer {"connection_id":139499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:08:40] local.INFO: Packet analysis {"connection_id":139499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:08:40] local.INFO: Extracted packet for processing {"connection_id":139499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:08:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:08:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:08:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:08:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":139499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:08:40] local.INFO: GPS data processed {"connection_id":139499,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:08:40] local.INFO: Acknowledgment sent {"connection_id":139499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:09:02] local.INFO: TCP Data received {"connection_id":140504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:09:02] local.INFO: Processing buffer {"connection_id":140504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:09:02] local.INFO: IMEI packet received {"connection_id":140504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":140504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:09:08] local.INFO: TCP Data received {"connection_id":140504,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:09:08] local.INFO: Processing buffer {"connection_id":140504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:09:08] local.INFO: IMEI packet received {"connection_id":140504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":140504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:09:09] local.INFO: TCP Data received {"connection_id":140504,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:09:09] local.INFO: Processing buffer {"connection_id":140504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:09:09] local.INFO: Packet analysis {"connection_id":140504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:09:09] local.INFO: Extracted packet for processing {"connection_id":140504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:09:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":140504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:09:09] local.INFO: GPS data processed {"connection_id":140504,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:09:09] local.INFO: Acknowledgment sent {"connection_id":140504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:09:42] local.INFO: TCP Data received {"connection_id":140504,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:09:42] local.INFO: Processing buffer {"connection_id":140504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:09:42] local.INFO: Packet analysis {"connection_id":140504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:09:42] local.INFO: Extracted packet for processing {"connection_id":140504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":140504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:09:43] local.INFO: GPS data processed {"connection_id":140504,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:09:43] local.INFO: Acknowledgment sent {"connection_id":140504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:10:03] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:10:03] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:10:03] local.INFO: IMEI packet received {"connection_id":139441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":139441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:10:08] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:10:08] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:10:08] local.INFO: IMEI packet received {"connection_id":139441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":139441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:10:09] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:10:09] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:10:09] local.INFO: Packet analysis {"connection_id":139441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:10:09] local.INFO: Extracted packet for processing {"connection_id":139441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:10:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":139441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:10:09] local.INFO: GPS data processed {"connection_id":139441,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:10:09] local.INFO: Acknowledgment sent {"connection_id":139441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:10:42] local.INFO: TCP Data received {"connection_id":139441,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:10:42] local.INFO: Processing buffer {"connection_id":139441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:10:42] local.INFO: Packet analysis {"connection_id":139441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:10:42] local.INFO: Extracted packet for processing {"connection_id":139441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":139441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:10:42] local.INFO: GPS data processed {"connection_id":139441,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:10:42] local.INFO: Acknowledgment sent {"connection_id":139441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:11:02] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:11:02] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:11:02] local.INFO: IMEI packet received {"connection_id":141857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:11:08] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:11:08] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:11:08] local.INFO: IMEI packet received {"connection_id":141857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":141857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:11:09] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:11:09] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:11:09] local.INFO: Packet analysis {"connection_id":141857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:11:09] local.INFO: Extracted packet for processing {"connection_id":141857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:11:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:11:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":141857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:11:09] local.INFO: GPS data processed {"connection_id":141857,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:11:09] local.INFO: Acknowledgment sent {"connection_id":141857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:11:43] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:11:43] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:11:43] local.INFO: Packet analysis {"connection_id":141857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:11:43] local.INFO: Extracted packet for processing {"connection_id":141857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:11: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-07-23 05:11: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-07-23 05:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":141857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:11:43] local.INFO: GPS data processed {"connection_id":141857,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:11:43] local.INFO: Acknowledgment sent {"connection_id":141857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:12:08] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:12:08] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:12:08] local.INFO: IMEI packet received {"connection_id":139442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":139442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:12:13] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:12:13] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:12:13] local.INFO: IMEI packet received {"connection_id":139442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":139442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:12:14] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:12:14] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:12:14] local.INFO: Packet analysis {"connection_id":139442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:12:14] local.INFO: Extracted packet for processing {"connection_id":139442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:12:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:12:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:12: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-07-23 05:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:12:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:12:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":139442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:12:14] local.INFO: GPS data processed {"connection_id":139442,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:12:14] local.INFO: Acknowledgment sent {"connection_id":139442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:12:18] local.INFO: TCP Data received {"connection_id":139442,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:12:18] local.INFO: Processing buffer {"connection_id":139442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c306650012cb29bc007823b40004900382a..."} 
[2026-07-23 05:12:18] local.INFO: Packet analysis {"connection_id":139442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:12:18] local.INFO: Extracted packet for processing {"connection_id":139442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c30"} 
[2026-07-23 05:12:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899355904001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:12:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784763410000,"timestamp_ms":1784763410000,"timestamp_seconds":1784763410,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c306650"} 
[2026-07-23 05:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899355904001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899355904001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:12:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:12:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899355904001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":139442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:12:18] local.INFO: GPS data processed {"connection_id":139442,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:12:18] local.INFO: Acknowledgment sent {"connection_id":139442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:13:03] local.INFO: TCP Data received {"connection_id":140505,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:13:03] local.INFO: Processing buffer {"connection_id":140505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:13:03] local.INFO: IMEI packet received {"connection_id":140505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":140505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:13:08] local.INFO: TCP Data received {"connection_id":140505,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:13:08] local.INFO: Processing buffer {"connection_id":140505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:13:08] local.INFO: IMEI packet received {"connection_id":140505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":140505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:13:08] local.INFO: TCP Data received {"connection_id":140505,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:13:08] local.INFO: Processing buffer {"connection_id":140505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:13:08] local.INFO: Packet analysis {"connection_id":140505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:13:08] local.INFO: Extracted packet for processing {"connection_id":140505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:13:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:13:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:13:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:13:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:13:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":140505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:13:09] local.INFO: GPS data processed {"connection_id":140505,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:13:09] local.INFO: Acknowledgment sent {"connection_id":140505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:13:40] local.INFO: TCP Data received {"connection_id":140505,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:13:40] local.INFO: Processing buffer {"connection_id":140505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:13:40] local.INFO: Packet analysis {"connection_id":140505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:13:40] local.INFO: Extracted packet for processing {"connection_id":140505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:13:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:13:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":140505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:13:40] local.INFO: GPS data processed {"connection_id":140505,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:13:40] local.INFO: Acknowledgment sent {"connection_id":140505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:14:04] local.INFO: TCP Data received {"connection_id":139500,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:14:04] local.INFO: Processing buffer {"connection_id":139500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:14:04] local.INFO: IMEI packet received {"connection_id":139500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":139500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:14:08] local.INFO: TCP Data received {"connection_id":139500,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:14:08] local.INFO: Processing buffer {"connection_id":139500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:14:08] local.INFO: IMEI packet received {"connection_id":139500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":139500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:14:09] local.INFO: TCP Data received {"connection_id":139500,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:14:09] local.INFO: Processing buffer {"connection_id":139500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:14:09] local.INFO: Packet analysis {"connection_id":139500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:14:09] local.INFO: Extracted packet for processing {"connection_id":139500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:14:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:14:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:14:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:14:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:14:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":139500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:14:09] local.INFO: GPS data processed {"connection_id":139500,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:14:09] local.INFO: Acknowledgment sent {"connection_id":139500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:14:43] local.INFO: TCP Data received {"connection_id":139500,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:14:43] local.INFO: Processing buffer {"connection_id":139500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:14:43] local.INFO: Packet analysis {"connection_id":139500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:14:43] local.INFO: Extracted packet for processing {"connection_id":139500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05: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-07-23 05:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05: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-07-23 05:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":139500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":139500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":139500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":139500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:14:43] local.INFO: GPS data processed {"connection_id":139500,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:14:43] local.INFO: Acknowledgment sent {"connection_id":139500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:15:02] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:15:02] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:15:02] local.INFO: IMEI packet received {"connection_id":141858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":141858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:15:08] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:15:08] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:15:08] local.INFO: IMEI packet received {"connection_id":141858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":141858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:15:08] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:15:08] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:15:08] local.INFO: Packet analysis {"connection_id":141858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:15:08] local.INFO: Extracted packet for processing {"connection_id":141858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:15:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:15:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":141858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:15:08] local.INFO: GPS data processed {"connection_id":141858,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:15:08] local.INFO: Acknowledgment sent {"connection_id":141858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:15:39] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:15:39] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:15:39] local.INFO: Packet analysis {"connection_id":141858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:15:39] local.INFO: Extracted packet for processing {"connection_id":141858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:15:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:15:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:15:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:15:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:15:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":141858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:15:40] local.INFO: GPS data processed {"connection_id":141858,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:15:40] local.INFO: Acknowledgment sent {"connection_id":141858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:16:02] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:16:02] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:16:02] local.INFO: IMEI packet received {"connection_id":139443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":139443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:16:08] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:16:08] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:16:08] local.INFO: IMEI packet received {"connection_id":139443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":139443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:16:08] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:16:08] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:16:08] local.INFO: Packet analysis {"connection_id":139443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:16:08] local.INFO: Extracted packet for processing {"connection_id":139443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:16:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:16:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:16:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:16:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":139443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:16:08] local.INFO: GPS data processed {"connection_id":139443,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:16:08] local.INFO: Acknowledgment sent {"connection_id":139443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:16:40] local.INFO: TCP Data received {"connection_id":139443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:16:40] local.INFO: Processing buffer {"connection_id":139443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:16:40] local.INFO: Packet analysis {"connection_id":139443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:16:40] local.INFO: Extracted packet for processing {"connection_id":139443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:16:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05: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-07-23 05:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05: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-07-23 05:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:16:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":139443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:16:40] local.INFO: GPS data processed {"connection_id":139443,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:16:40] local.INFO: Acknowledgment sent {"connection_id":139443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:17:02] local.INFO: TCP Data received {"connection_id":140506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:17:02] local.INFO: Processing buffer {"connection_id":140506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:17:02] local.INFO: IMEI packet received {"connection_id":140506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":140506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:17:08] local.INFO: TCP Data received {"connection_id":140506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:17:08] local.INFO: Processing buffer {"connection_id":140506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:17:08] local.INFO: IMEI packet received {"connection_id":140506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":140506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:17:08] local.INFO: TCP Data received {"connection_id":140506,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:17:08] local.INFO: Processing buffer {"connection_id":140506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c34fe18012cb29bc007823b400049003829..."} 
[2026-07-23 05:17:08] local.INFO: Packet analysis {"connection_id":140506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:17:08] local.INFO: Extracted packet for processing {"connection_id":140506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c34"} 
[2026-07-23 05:17:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899432960001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784763711000,"timestamp_ms":1784763711000,"timestamp_seconds":1784763711,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c34fe18"} 
[2026-07-23 05:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899432960001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899432960001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:17:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899432960001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":140506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:17:08] local.INFO: GPS data processed {"connection_id":140506,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:17:08] local.INFO: Acknowledgment sent {"connection_id":140506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:17:42] local.INFO: TCP Data received {"connection_id":140506,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:17:42] local.INFO: Processing buffer {"connection_id":140506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:17:42] local.INFO: Packet analysis {"connection_id":140506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:17:42] local.INFO: Extracted packet for processing {"connection_id":140506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":140506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:17:42] local.INFO: GPS data processed {"connection_id":140506,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:17:42] local.INFO: Acknowledgment sent {"connection_id":140506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:18:03] local.INFO: TCP Data received {"connection_id":139501,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:18:03] local.INFO: Processing buffer {"connection_id":139501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:18:03] local.INFO: IMEI packet received {"connection_id":139501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":139501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:18:08] local.INFO: TCP Data received {"connection_id":139501,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:18:08] local.INFO: Processing buffer {"connection_id":139501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:18:08] local.INFO: IMEI packet received {"connection_id":139501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":139501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:18:08] local.INFO: TCP Data received {"connection_id":139501,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:18:08] local.INFO: Processing buffer {"connection_id":139501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:18:08] local.INFO: Packet analysis {"connection_id":139501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:18:08] local.INFO: Extracted packet for processing {"connection_id":139501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:18:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:18:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:18:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:18:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":139501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:18:08] local.INFO: GPS data processed {"connection_id":139501,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:18:08] local.INFO: Acknowledgment sent {"connection_id":139501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:18:42] local.INFO: TCP Data received {"connection_id":139501,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:18:42] local.INFO: Processing buffer {"connection_id":139501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:18:42] local.INFO: Packet analysis {"connection_id":139501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:18:42] local.INFO: Extracted packet for processing {"connection_id":139501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05: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-07-23 05:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05: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-07-23 05:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":139501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:18:42] local.INFO: GPS data processed {"connection_id":139501,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:18:42] local.INFO: Acknowledgment sent {"connection_id":139501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:19:02] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:19:02] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:19:02] local.INFO: IMEI packet received {"connection_id":141859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":141859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:19:08] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:19:08] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:19:08] local.INFO: IMEI packet received {"connection_id":141859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":141859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:19:08] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:19:08] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:19:08] local.INFO: Packet analysis {"connection_id":141859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:19:08] local.INFO: Extracted packet for processing {"connection_id":141859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:19:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:19:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:19:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:19:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":141859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:19:08] local.INFO: GPS data processed {"connection_id":141859,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:19:08] local.INFO: Acknowledgment sent {"connection_id":141859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:19:42] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:19:42] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:19:42] local.INFO: Packet analysis {"connection_id":141859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:19:42] local.INFO: Extracted packet for processing {"connection_id":141859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":141859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:19:42] local.INFO: GPS data processed {"connection_id":141859,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:19:42] local.INFO: Acknowledgment sent {"connection_id":141859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:20:04] local.INFO: TCP Data received {"connection_id":140507,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:20:04] local.INFO: Processing buffer {"connection_id":140507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:20:04] local.INFO: IMEI packet received {"connection_id":140507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":140507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:20:08] local.INFO: TCP Data received {"connection_id":140507,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:20:08] local.INFO: Processing buffer {"connection_id":140507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:20:08] local.INFO: IMEI packet received {"connection_id":140507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":140507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:20:08] local.INFO: TCP Data received {"connection_id":140507,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:20:08] local.INFO: Processing buffer {"connection_id":140507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:20:08] local.INFO: Packet analysis {"connection_id":140507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:20:08] local.INFO: Extracted packet for processing {"connection_id":140507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:20:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:20:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:20:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:20:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":140507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:20:08] local.INFO: GPS data processed {"connection_id":140507,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:20:08] local.INFO: Acknowledgment sent {"connection_id":140507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:20:40] local.INFO: TCP Data received {"connection_id":140507,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:20:40] local.INFO: Processing buffer {"connection_id":140507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:20:40] local.INFO: Packet analysis {"connection_id":140507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:20:40] local.INFO: Extracted packet for processing {"connection_id":140507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05: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-07-23 05:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:20:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":140507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:20:40] local.INFO: GPS data processed {"connection_id":140507,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:20:40] local.INFO: Acknowledgment sent {"connection_id":140507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:21:02] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:21:02] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:21:02] local.INFO: IMEI packet received {"connection_id":139444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":139444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:21:08] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:21:08] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:21:08] local.INFO: IMEI packet received {"connection_id":139444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":139444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:21:08] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:21:08] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:21:08] local.INFO: Packet analysis {"connection_id":139444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:21:08] local.INFO: Extracted packet for processing {"connection_id":139444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:21:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":139444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:21:08] local.INFO: GPS data processed {"connection_id":139444,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:21:08] local.INFO: Acknowledgment sent {"connection_id":139444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:21:42] local.INFO: TCP Data received {"connection_id":139444,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:21:42] local.INFO: Processing buffer {"connection_id":139444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:21:42] local.INFO: Packet analysis {"connection_id":139444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:21:42] local.INFO: Extracted packet for processing {"connection_id":139444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":139444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:21:42] local.INFO: GPS data processed {"connection_id":139444,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:21:42] local.INFO: Acknowledgment sent {"connection_id":139444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:22:02] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:22:02] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:22:02] local.INFO: IMEI packet received {"connection_id":139445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":139445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:22:08] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:22:08] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:22:08] local.INFO: IMEI packet received {"connection_id":139445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":139445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:22:08] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:22:08] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3995e0012cb29bc007823b400046003826..."} 
[2026-07-23 05:22:08] local.INFO: Packet analysis {"connection_id":139445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:22:08] local.INFO: Extracted packet for processing {"connection_id":139445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c39"} 
[2026-07-23 05:22:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899510016001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:22:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764012000,"timestamp_ms":1784764012000,"timestamp_seconds":1784764012,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3995e0"} 
[2026-07-23 05:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899510016001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899510016001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:22:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:22:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899510016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":139445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:22:08] local.INFO: GPS data processed {"connection_id":139445,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:22:08] local.INFO: Acknowledgment sent {"connection_id":139445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:22:42] local.INFO: TCP Data received {"connection_id":139445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:22:42] local.INFO: Processing buffer {"connection_id":139445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:22:42] local.INFO: Packet analysis {"connection_id":139445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:22:42] local.INFO: Extracted packet for processing {"connection_id":139445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":139445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:22:42] local.INFO: GPS data processed {"connection_id":139445,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:22:42] local.INFO: Acknowledgment sent {"connection_id":139445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:23:02] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:23:02] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:23:02] local.INFO: IMEI packet received {"connection_id":141860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":141860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:23:07] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:23:07] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:23:07] local.INFO: IMEI packet received {"connection_id":141860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":141860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:23:08] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:23:08] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:23:08] local.INFO: Packet analysis {"connection_id":141860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:23:08] local.INFO: Extracted packet for processing {"connection_id":141860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:23:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:23:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:23:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:23:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:23:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":141860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:23:08] local.INFO: GPS data processed {"connection_id":141860,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:23:08] local.INFO: Acknowledgment sent {"connection_id":141860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:23:41] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:23:41] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:23:41] local.INFO: Packet analysis {"connection_id":141860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:23:41] local.INFO: Extracted packet for processing {"connection_id":141860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":141860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:23:41] local.INFO: GPS data processed {"connection_id":141860,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:23:41] local.INFO: Acknowledgment sent {"connection_id":141860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:24:03] local.INFO: TCP Data received {"connection_id":139502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:24:03] local.INFO: Processing buffer {"connection_id":139502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:24:03] local.INFO: IMEI packet received {"connection_id":139502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":139502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:24:08] local.INFO: TCP Data received {"connection_id":139502,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:24:08] local.INFO: Processing buffer {"connection_id":139502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:24:08] local.INFO: IMEI packet received {"connection_id":139502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":139502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:24:08] local.INFO: TCP Data received {"connection_id":139502,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:24:08] local.INFO: Processing buffer {"connection_id":139502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:24:08] local.INFO: Packet analysis {"connection_id":139502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:24:08] local.INFO: Extracted packet for processing {"connection_id":139502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:24:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:24:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":139502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:24:08] local.INFO: GPS data processed {"connection_id":139502,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:24:08] local.INFO: Acknowledgment sent {"connection_id":139502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:24:42] local.INFO: TCP Data received {"connection_id":139502,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:24:42] local.INFO: Processing buffer {"connection_id":139502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:24:42] local.INFO: Packet analysis {"connection_id":139502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:24:42] local.INFO: Extracted packet for processing {"connection_id":139502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":139502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:24:42] local.INFO: GPS data processed {"connection_id":139502,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:24:42] local.INFO: Acknowledgment sent {"connection_id":139502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:25:03] local.INFO: TCP Data received {"connection_id":140508,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:25:03] local.INFO: Processing buffer {"connection_id":140508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:25:03] local.INFO: IMEI packet received {"connection_id":140508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":140508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:25:08] local.INFO: TCP Data received {"connection_id":140508,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:25:08] local.INFO: Processing buffer {"connection_id":140508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:25:08] local.INFO: IMEI packet received {"connection_id":140508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":140508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:25:08] local.INFO: TCP Data received {"connection_id":140508,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:08] local.INFO: Processing buffer {"connection_id":140508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:08] local.INFO: Packet analysis {"connection_id":140508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:25:08] local.INFO: Extracted packet for processing {"connection_id":140508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:25:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:25:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:25:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":140508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:25:08] local.INFO: GPS data processed {"connection_id":140508,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:25:08] local.INFO: Acknowledgment sent {"connection_id":140508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:25:13] local.INFO: TCP Data received {"connection_id":140508,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:13] local.INFO: Processing buffer {"connection_id":140508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:13] local.INFO: Packet analysis {"connection_id":140508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:25:13] local.INFO: Extracted packet for processing {"connection_id":140508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:25:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:25:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":140508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:25:13] local.INFO: GPS data processed {"connection_id":140508,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:25:13] local.INFO: Acknowledgment sent {"connection_id":140508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:25:44] local.INFO: TCP Data received {"connection_id":140508,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:44] local.INFO: Processing buffer {"connection_id":140508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:25:44] local.INFO: Packet analysis {"connection_id":140508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:25:44] local.INFO: Extracted packet for processing {"connection_id":140508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:25:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:25:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":140508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:25:44] local.INFO: GPS data processed {"connection_id":140508,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:25:44] local.INFO: Acknowledgment sent {"connection_id":140508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:26:02] local.INFO: TCP Data received {"connection_id":140509,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:26:02] local.INFO: Processing buffer {"connection_id":140509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:26:02] local.INFO: IMEI packet received {"connection_id":140509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:26:08] local.INFO: TCP Data received {"connection_id":140509,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:26:08] local.INFO: Processing buffer {"connection_id":140509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:26:08] local.INFO: IMEI packet received {"connection_id":140509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":140509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:26:08] local.INFO: TCP Data received {"connection_id":140509,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:26:08] local.INFO: Processing buffer {"connection_id":140509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:26:08] local.INFO: Packet analysis {"connection_id":140509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:26:08] local.INFO: Extracted packet for processing {"connection_id":140509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:26:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:26:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:26:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:26:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":140509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":530999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:26:08] local.INFO: GPS data processed {"connection_id":140509,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:26:08] local.INFO: Acknowledgment sent {"connection_id":140509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:26:39] local.INFO: TCP Data received {"connection_id":140509,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:26:39] local.INFO: Processing buffer {"connection_id":140509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:26:39] local.INFO: Packet analysis {"connection_id":140509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:26:39] local.INFO: Extracted packet for processing {"connection_id":140509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:26:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:26:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":140509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:26:39] local.INFO: GPS data processed {"connection_id":140509,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:26:39] local.INFO: Acknowledgment sent {"connection_id":140509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:27:02] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:27:02] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:27:02] local.INFO: IMEI packet received {"connection_id":141861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":141861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:27:08] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:27:08] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:27:08] local.INFO: IMEI packet received {"connection_id":141861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":141861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:27:08] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:27:08] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c3e2da8012cb29bc007823b400049003828..."} 
[2026-07-23 05:27:08] local.INFO: Packet analysis {"connection_id":141861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:27:08] local.INFO: Extracted packet for processing {"connection_id":141861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c3e"} 
[2026-07-23 05:27:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899587072001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764313000,"timestamp_ms":1784764313000,"timestamp_seconds":1784764313,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c3e2da8"} 
[2026-07-23 05:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899587072001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899587072001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:27:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899587072001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":141861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:27:08] local.INFO: GPS data processed {"connection_id":141861,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:27:08] local.INFO: Acknowledgment sent {"connection_id":141861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:27:42] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:27:42] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:27:42] local.INFO: Packet analysis {"connection_id":141861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:27:42] local.INFO: Extracted packet for processing {"connection_id":141861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":141861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:27:42] local.INFO: GPS data processed {"connection_id":141861,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:27:42] local.INFO: Acknowledgment sent {"connection_id":141861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:28:03] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:28:03] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:28:03] local.INFO: IMEI packet received {"connection_id":141862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":141862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:28:08] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:28:08] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:28:08] local.INFO: IMEI packet received {"connection_id":141862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":141862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:28:08] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:08] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:08] local.INFO: Packet analysis {"connection_id":141862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:28:08] local.INFO: Extracted packet for processing {"connection_id":141862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:28:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:28:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":141862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:28:08] local.INFO: GPS data processed {"connection_id":141862,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:28:08] local.INFO: Acknowledgment sent {"connection_id":141862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:28:13] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:13] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:13] local.INFO: Packet analysis {"connection_id":141862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:28:13] local.INFO: Extracted packet for processing {"connection_id":141862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:28:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:28:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":141862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:28:13] local.INFO: GPS data processed {"connection_id":141862,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:28:13] local.INFO: Acknowledgment sent {"connection_id":141862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:28:44] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:44] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:28:44] local.INFO: Packet analysis {"connection_id":141862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:28:44] local.INFO: Extracted packet for processing {"connection_id":141862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:28:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":141862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:28:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:28:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:28:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":141862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:28:44] local.INFO: GPS data processed {"connection_id":141862,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:28:44] local.INFO: Acknowledgment sent {"connection_id":141862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:29:02] local.INFO: TCP Data received {"connection_id":139503,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:29:02] local.INFO: Processing buffer {"connection_id":139503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:29:02] local.INFO: IMEI packet received {"connection_id":139503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":139503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:29:08] local.INFO: TCP Data received {"connection_id":139503,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:29:08] local.INFO: Processing buffer {"connection_id":139503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:29:08] local.INFO: IMEI packet received {"connection_id":139503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":139503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:29:08] local.INFO: TCP Data received {"connection_id":139503,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:29:08] local.INFO: Processing buffer {"connection_id":139503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:29:08] local.INFO: Packet analysis {"connection_id":139503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:29:08] local.INFO: Extracted packet for processing {"connection_id":139503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:29:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:29:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:29:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:29:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":139503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:29:08] local.INFO: GPS data processed {"connection_id":139503,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:29:08] local.INFO: Acknowledgment sent {"connection_id":139503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:29:42] local.INFO: TCP Data received {"connection_id":139503,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:29:42] local.INFO: Processing buffer {"connection_id":139503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:29:42] local.INFO: Packet analysis {"connection_id":139503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:29:42] local.INFO: Extracted packet for processing {"connection_id":139503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05: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-07-23 05:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05: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-07-23 05:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":139503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:29:42] local.INFO: GPS data processed {"connection_id":139503,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:29:42] local.INFO: Acknowledgment sent {"connection_id":139503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:30:03] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:30:03] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:30:03] local.INFO: IMEI packet received {"connection_id":139446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":139446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:30:08] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:30:08] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:30:08] local.INFO: IMEI packet received {"connection_id":139446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":139446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:30:08] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:30:08] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:30:08] local.INFO: Packet analysis {"connection_id":139446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:30:08] local.INFO: Extracted packet for processing {"connection_id":139446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:30:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:30:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:30:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":139446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:30:08] local.INFO: GPS data processed {"connection_id":139446,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:30:08] local.INFO: Acknowledgment sent {"connection_id":139446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:30:42] local.INFO: TCP Data received {"connection_id":139446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:30:42] local.INFO: Processing buffer {"connection_id":139446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:30:42] local.INFO: Packet analysis {"connection_id":139446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:30:42] local.INFO: Extracted packet for processing {"connection_id":139446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":139446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:30:42] local.INFO: GPS data processed {"connection_id":139446,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:30:42] local.INFO: Acknowledgment sent {"connection_id":139446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:31:02] local.INFO: TCP Data received {"connection_id":140510,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:31:02] local.INFO: Processing buffer {"connection_id":140510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:31:02] local.INFO: IMEI packet received {"connection_id":140510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":140510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:31:08] local.INFO: TCP Data received {"connection_id":140510,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:31:08] local.INFO: Processing buffer {"connection_id":140510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:31:08] local.INFO: IMEI packet received {"connection_id":140510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":140510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:31:08] local.INFO: TCP Data received {"connection_id":140510,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:31:08] local.INFO: Processing buffer {"connection_id":140510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:31:08] local.INFO: Packet analysis {"connection_id":140510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:31:08] local.INFO: Extracted packet for processing {"connection_id":140510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:31:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:31:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:31:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:31:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":140510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:31:08] local.INFO: GPS data processed {"connection_id":140510,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:31:08] local.INFO: Acknowledgment sent {"connection_id":140510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:31:42] local.INFO: TCP Data received {"connection_id":140510,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:31:42] local.INFO: Processing buffer {"connection_id":140510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:31:42] local.INFO: Packet analysis {"connection_id":140510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:31:42] local.INFO: Extracted packet for processing {"connection_id":140510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":140510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:31:42] local.INFO: GPS data processed {"connection_id":140510,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:31:42] local.INFO: Acknowledgment sent {"connection_id":140510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:32:02] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:32:02] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:32:02] local.INFO: IMEI packet received {"connection_id":139447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":139447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:32:08] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:32:08] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:32:08] local.INFO: IMEI packet received {"connection_id":139447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":139447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:32:08] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:32:08] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c42c570012cb29bc007823b400041003829..."} 
[2026-07-23 05:32:08] local.INFO: Packet analysis {"connection_id":139447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:32:08] local.INFO: Extracted packet for processing {"connection_id":139447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c42"} 
[2026-07-23 05:32:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":65,"angle":56,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899664128001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:32:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764614000,"timestamp_ms":1784764614000,"timestamp_seconds":1784764614,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c42c570"} 
[2026-07-23 05:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899664128001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899664128001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:32:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:32:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899664128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":139447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:32:08] local.INFO: GPS data processed {"connection_id":139447,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:32:08] local.INFO: Acknowledgment sent {"connection_id":139447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:32:42] local.INFO: TCP Data received {"connection_id":139447,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:32:42] local.INFO: Processing buffer {"connection_id":139447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:32:42] local.INFO: Packet analysis {"connection_id":139447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:32:42] local.INFO: Extracted packet for processing {"connection_id":139447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:32:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":139447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:32:42] local.INFO: GPS data processed {"connection_id":139447,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:32:42] local.INFO: Acknowledgment sent {"connection_id":139447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:33:08] local.INFO: TCP Data received {"connection_id":140511,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:33:08] local.INFO: Processing buffer {"connection_id":140511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:33:08] local.INFO: IMEI packet received {"connection_id":140511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":140511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:33:13] local.INFO: TCP Data received {"connection_id":140511,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:33:13] local.INFO: Processing buffer {"connection_id":140511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:33:13] local.INFO: IMEI packet received {"connection_id":140511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":140511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:33:13] local.INFO: TCP Data received {"connection_id":140511,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:33:13] local.INFO: Processing buffer {"connection_id":140511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:33:13] local.INFO: Packet analysis {"connection_id":140511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:33:13] local.INFO: Extracted packet for processing {"connection_id":140511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:33:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:33:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":140511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:33:13] local.INFO: GPS data processed {"connection_id":140511,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:33:13] local.INFO: Acknowledgment sent {"connection_id":140511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:33:18] local.INFO: TCP Data received {"connection_id":140511,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:33:18] local.INFO: Processing buffer {"connection_id":140511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:33:18] local.INFO: Packet analysis {"connection_id":140511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:33:18] local.INFO: Extracted packet for processing {"connection_id":140511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:33:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:33:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:33:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:33:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":140511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:33:18] local.INFO: GPS data processed {"connection_id":140511,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:33:18] local.INFO: Acknowledgment sent {"connection_id":140511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:34:03] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:34:03] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:34:03] local.INFO: IMEI packet received {"connection_id":139448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":139448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:34:08] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:34:08] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:34:08] local.INFO: IMEI packet received {"connection_id":139448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":139448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:34:08] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:34:08] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:34:08] local.INFO: Packet analysis {"connection_id":139448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:34:08] local.INFO: Extracted packet for processing {"connection_id":139448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:34:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:34:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:34:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:34:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":139448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:34:08] local.INFO: GPS data processed {"connection_id":139448,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:34:08] local.INFO: Acknowledgment sent {"connection_id":139448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:34:42] local.INFO: TCP Data received {"connection_id":139448,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:34:42] local.INFO: Processing buffer {"connection_id":139448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:34:42] local.INFO: Packet analysis {"connection_id":139448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:34:42] local.INFO: Extracted packet for processing {"connection_id":139448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":139448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:34:42] local.INFO: GPS data processed {"connection_id":139448,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:34:42] local.INFO: Acknowledgment sent {"connection_id":139448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:35:02] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:35:02] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:35:02] local.INFO: IMEI packet received {"connection_id":141863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":141863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:35:06] local.INFO: TCP Data received {"connection_id":140512,"ip":"194.165.16.161","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-23 05:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140512,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-23 05:35:06] local.INFO: Processing buffer {"connection_id":140512,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-23 05:35:06] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":140512,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-23 05:35:08] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:35:08] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:35:08] local.INFO: IMEI packet received {"connection_id":141863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":141863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:35:08] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:35:08] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:35:08] local.INFO: Packet analysis {"connection_id":141863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:35:08] local.INFO: Extracted packet for processing {"connection_id":141863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:35:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:35:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":141863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:35:08] local.INFO: GPS data processed {"connection_id":141863,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:35:08] local.INFO: Acknowledgment sent {"connection_id":141863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:35:39] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:35:39] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:35:39] local.INFO: Packet analysis {"connection_id":141863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:35:39] local.INFO: Extracted packet for processing {"connection_id":141863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:35:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:35:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:35:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:35:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":141863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:35:39] local.INFO: GPS data processed {"connection_id":141863,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:35:39] local.INFO: Acknowledgment sent {"connection_id":141863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:36:03] local.INFO: TCP Data received {"connection_id":140513,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:36:03] local.INFO: Processing buffer {"connection_id":140513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:36:03] local.INFO: IMEI packet received {"connection_id":140513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":140513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:36:08] local.INFO: TCP Data received {"connection_id":140513,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:36:08] local.INFO: Processing buffer {"connection_id":140513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:36:08] local.INFO: IMEI packet received {"connection_id":140513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":140513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:36:08] local.INFO: TCP Data received {"connection_id":140513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:36:08] local.INFO: Processing buffer {"connection_id":140513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:36:08] local.INFO: Packet analysis {"connection_id":140513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:36:08] local.INFO: Extracted packet for processing {"connection_id":140513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:36:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:36:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":140513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:36:08] local.INFO: GPS data processed {"connection_id":140513,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:36:08] local.INFO: Acknowledgment sent {"connection_id":140513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:36:39] local.INFO: TCP Data received {"connection_id":140513,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:36:39] local.INFO: Processing buffer {"connection_id":140513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:36:39] local.INFO: Packet analysis {"connection_id":140513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:36:39] local.INFO: Extracted packet for processing {"connection_id":140513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:36:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:36:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:36:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":140513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:36:39] local.INFO: GPS data processed {"connection_id":140513,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:36:39] local.INFO: Acknowledgment sent {"connection_id":140513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:37:02] local.INFO: TCP Data received {"connection_id":140514,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:37:02] local.INFO: Processing buffer {"connection_id":140514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:37:02] local.INFO: IMEI packet received {"connection_id":140514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":140514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:37:08] local.INFO: TCP Data received {"connection_id":140514,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:37:08] local.INFO: Processing buffer {"connection_id":140514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:37:08] local.INFO: IMEI packet received {"connection_id":140514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":140514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:37:08] local.INFO: TCP Data received {"connection_id":140514,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:37:08] local.INFO: Processing buffer {"connection_id":140514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c475d38012cb29bc007823b40004700382a..."} 
[2026-07-23 05:37:08] local.INFO: Packet analysis {"connection_id":140514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:37:08] local.INFO: Extracted packet for processing {"connection_id":140514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c47"} 
[2026-07-23 05:37:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899741184001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:37:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784764915000,"timestamp_ms":1784764915000,"timestamp_seconds":1784764915,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c475d38"} 
[2026-07-23 05:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899741184001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899741184001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:37:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:37:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899741184001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":140514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:37:08] local.INFO: GPS data processed {"connection_id":140514,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:37:08] local.INFO: Acknowledgment sent {"connection_id":140514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:37:42] local.INFO: TCP Data received {"connection_id":140514,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:37:42] local.INFO: Processing buffer {"connection_id":140514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:37:42] local.INFO: Packet analysis {"connection_id":140514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:37:42] local.INFO: Extracted packet for processing {"connection_id":140514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":140514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:37:42] local.INFO: GPS data processed {"connection_id":140514,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:37:42] local.INFO: Acknowledgment sent {"connection_id":140514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:38:08] local.INFO: TCP Data received {"connection_id":140515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:38:08] local.INFO: Processing buffer {"connection_id":140515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:38:08] local.INFO: IMEI packet received {"connection_id":140515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":140515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:38:13] local.INFO: TCP Data received {"connection_id":140515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:38:13] local.INFO: Processing buffer {"connection_id":140515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:38:13] local.INFO: IMEI packet received {"connection_id":140515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":140515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:38:13] local.INFO: TCP Data received {"connection_id":140515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:38:13] local.INFO: Processing buffer {"connection_id":140515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:38:13] local.INFO: Packet analysis {"connection_id":140515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:38:13] local.INFO: Extracted packet for processing {"connection_id":140515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:38:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:38:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:38:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":140515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:38:13] local.INFO: GPS data processed {"connection_id":140515,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:38:13] local.INFO: Acknowledgment sent {"connection_id":140515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:38:18] local.INFO: TCP Data received {"connection_id":140515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:38:18] local.INFO: Processing buffer {"connection_id":140515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:38:18] local.INFO: Packet analysis {"connection_id":140515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:38:18] local.INFO: Extracted packet for processing {"connection_id":140515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:38:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:38:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:38:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":140515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:38:18] local.INFO: GPS data processed {"connection_id":140515,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:38:18] local.INFO: Acknowledgment sent {"connection_id":140515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:39:02] local.INFO: TCP Data received {"connection_id":139504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:39:02] local.INFO: Processing buffer {"connection_id":139504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:39:02] local.INFO: IMEI packet received {"connection_id":139504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":139504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:39:07] local.INFO: TCP Data received {"connection_id":139504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:39:07] local.INFO: Processing buffer {"connection_id":139504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:39:07] local.INFO: IMEI packet received {"connection_id":139504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":139504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:39:08] local.INFO: TCP Data received {"connection_id":139504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:39:08] local.INFO: Processing buffer {"connection_id":139504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:39:08] local.INFO: Packet analysis {"connection_id":139504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:39:08] local.INFO: Extracted packet for processing {"connection_id":139504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:39:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:39:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":139504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:39:08] local.INFO: GPS data processed {"connection_id":139504,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:39:08] local.INFO: Acknowledgment sent {"connection_id":139504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:39:39] local.INFO: TCP Data received {"connection_id":139504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:39:39] local.INFO: Processing buffer {"connection_id":139504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:39:39] local.INFO: Packet analysis {"connection_id":139504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:39:39] local.INFO: Extracted packet for processing {"connection_id":139504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:39:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:39:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:39:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:39:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:39:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":139504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:39:39] local.INFO: GPS data processed {"connection_id":139504,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:39:39] local.INFO: Acknowledgment sent {"connection_id":139504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:40:02] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:40:02] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:40:02] local.INFO: IMEI packet received {"connection_id":141864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":141864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:40:08] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:40:08] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:40:08] local.INFO: IMEI packet received {"connection_id":141864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":141864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:40:08] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:40:08] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:40:08] local.INFO: Packet analysis {"connection_id":141864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:40:08] local.INFO: Extracted packet for processing {"connection_id":141864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:40:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:40:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:40:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:40:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":141864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:40:08] local.INFO: GPS data processed {"connection_id":141864,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:40:08] local.INFO: Acknowledgment sent {"connection_id":141864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:40:39] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:40:39] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:40:39] local.INFO: Packet analysis {"connection_id":141864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:40:39] local.INFO: Extracted packet for processing {"connection_id":141864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:40:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:40:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:40:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:40:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":141864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:40:39] local.INFO: GPS data processed {"connection_id":141864,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:40:39] local.INFO: Acknowledgment sent {"connection_id":141864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:41:02] local.INFO: TCP Data received {"connection_id":139505,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:41:02] local.INFO: Processing buffer {"connection_id":139505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:41:02] local.INFO: IMEI packet received {"connection_id":139505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":139505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:41:08] local.INFO: TCP Data received {"connection_id":139505,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:41:08] local.INFO: Processing buffer {"connection_id":139505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:41:08] local.INFO: IMEI packet received {"connection_id":139505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":139505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:41:08] local.INFO: TCP Data received {"connection_id":139505,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:41:08] local.INFO: Processing buffer {"connection_id":139505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:41:08] local.INFO: Packet analysis {"connection_id":139505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:41:08] local.INFO: Extracted packet for processing {"connection_id":139505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:41:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":139505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:41:08] local.INFO: GPS data processed {"connection_id":139505,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:41:08] local.INFO: Acknowledgment sent {"connection_id":139505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:41:39] local.INFO: TCP Data received {"connection_id":139505,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:41:39] local.INFO: Processing buffer {"connection_id":139505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:41:39] local.INFO: Packet analysis {"connection_id":139505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:41:39] local.INFO: Extracted packet for processing {"connection_id":139505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":139505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:41:39] local.INFO: GPS data processed {"connection_id":139505,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:41:39] local.INFO: Acknowledgment sent {"connection_id":139505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:42:02] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:42:02] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:42:02] local.INFO: IMEI packet received {"connection_id":141865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":141865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:42:08] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:42:08] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:42:08] local.INFO: IMEI packet received {"connection_id":141865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":141865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:42:08] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:42:08] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c4bf500012cb29bc007823b400047003827..."} 
[2026-07-23 05:42:08] local.INFO: Packet analysis {"connection_id":141865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:42:08] local.INFO: Extracted packet for processing {"connection_id":141865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c4b"} 
[2026-07-23 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899818240001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:42:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765216000,"timestamp_ms":1784765216000,"timestamp_seconds":1784765216,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c4bf500"} 
[2026-07-23 05:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 05:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899818240001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899818240001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:42:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:42:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899818240001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":141865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:42:08] local.INFO: GPS data processed {"connection_id":141865,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:42:08] local.INFO: Acknowledgment sent {"connection_id":141865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:42:40] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:42:40] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:42:40] local.INFO: Packet analysis {"connection_id":141865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:42:40] local.INFO: Extracted packet for processing {"connection_id":141865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:42:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:42:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":141865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:42:40] local.INFO: GPS data processed {"connection_id":141865,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:42:40] local.INFO: Acknowledgment sent {"connection_id":141865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:43:08] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:43:08] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:43:08] local.INFO: IMEI packet received {"connection_id":141866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":141866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:43:13] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:43:13] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:43:13] local.INFO: IMEI packet received {"connection_id":141866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":141866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:43:13] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:43:13] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:43:13] local.INFO: Packet analysis {"connection_id":141866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:43:13] local.INFO: Extracted packet for processing {"connection_id":141866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":141866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:43:13] local.INFO: GPS data processed {"connection_id":141866,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:43:13] local.INFO: Acknowledgment sent {"connection_id":141866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:43:18] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:43:18] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:43:18] local.INFO: Packet analysis {"connection_id":141866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:43:18] local.INFO: Extracted packet for processing {"connection_id":141866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:43:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:43:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:43:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:43:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:43:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":141866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:43:18] local.INFO: GPS data processed {"connection_id":141866,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:43:18] local.INFO: Acknowledgment sent {"connection_id":141866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:44:03] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:44:03] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:44:03] local.INFO: IMEI packet received {"connection_id":141867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":141867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:44:08] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:44:08] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:44:08] local.INFO: IMEI packet received {"connection_id":141867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":141867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:44:08] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:44:08] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:44:08] local.INFO: Packet analysis {"connection_id":141867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:44:08] local.INFO: Extracted packet for processing {"connection_id":141867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:44:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:44:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:44:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":141867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:44:08] local.INFO: GPS data processed {"connection_id":141867,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:44:08] local.INFO: Acknowledgment sent {"connection_id":141867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:44:42] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:44:42] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:44:42] local.INFO: Packet analysis {"connection_id":141867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:44:42] local.INFO: Extracted packet for processing {"connection_id":141867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:44:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":141867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:44:42] local.INFO: GPS data processed {"connection_id":141867,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:44:42] local.INFO: Acknowledgment sent {"connection_id":141867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:45:02] local.INFO: TCP Data received {"connection_id":140516,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:45:02] local.INFO: Processing buffer {"connection_id":140516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:45:02] local.INFO: IMEI packet received {"connection_id":140516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":140516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:45:08] local.INFO: TCP Data received {"connection_id":140516,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:45:08] local.INFO: Processing buffer {"connection_id":140516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:45:08] local.INFO: IMEI packet received {"connection_id":140516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":140516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:45:08] local.INFO: TCP Data received {"connection_id":140516,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:45:08] local.INFO: Processing buffer {"connection_id":140516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:45:08] local.INFO: Packet analysis {"connection_id":140516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:45:08] local.INFO: Extracted packet for processing {"connection_id":140516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:45:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:45:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:45:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":140516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:45:08] local.INFO: GPS data processed {"connection_id":140516,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:45:08] local.INFO: Acknowledgment sent {"connection_id":140516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:45:39] local.INFO: TCP Data received {"connection_id":140516,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:45:39] local.INFO: Processing buffer {"connection_id":140516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:45:39] local.INFO: Packet analysis {"connection_id":140516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:45:39] local.INFO: Extracted packet for processing {"connection_id":140516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:45:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:45:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:45:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":140516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:45:40] local.INFO: GPS data processed {"connection_id":140516,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:45:40] local.INFO: Acknowledgment sent {"connection_id":140516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:46:03] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:46:03] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:46:03] local.INFO: IMEI packet received {"connection_id":139449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":139449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:46:08] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:46:08] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:46:08] local.INFO: IMEI packet received {"connection_id":139449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":139449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:46:08] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:46:08] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:46:08] local.INFO: Packet analysis {"connection_id":139449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:46:08] local.INFO: Extracted packet for processing {"connection_id":139449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":139449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:46:08] local.INFO: GPS data processed {"connection_id":139449,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:46:08] local.INFO: Acknowledgment sent {"connection_id":139449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:46:39] local.INFO: TCP Data received {"connection_id":139449,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:46:39] local.INFO: Processing buffer {"connection_id":139449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:46:39] local.INFO: Packet analysis {"connection_id":139449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:46:39] local.INFO: Extracted packet for processing {"connection_id":139449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:46:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:46:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:46:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:46:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":139449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:46:39] local.INFO: GPS data processed {"connection_id":139449,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:46:39] local.INFO: Acknowledgment sent {"connection_id":139449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:47:02] local.INFO: TCP Data received {"connection_id":139506,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:02] local.INFO: Processing buffer {"connection_id":139506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:02] local.INFO: IMEI packet received {"connection_id":139506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":139506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:47:08] local.INFO: TCP Data received {"connection_id":139506,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:08] local.INFO: Processing buffer {"connection_id":139506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:08] local.INFO: IMEI packet received {"connection_id":139506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":139506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:47:08] local.INFO: TCP Data received {"connection_id":139506,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:47:08] local.INFO: Processing buffer {"connection_id":139506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c508cc8012cb29bc007823b400047003827..."} 
[2026-07-23 05:47:08] local.INFO: Packet analysis {"connection_id":139506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:47:08] local.INFO: Extracted packet for processing {"connection_id":139506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c50"} 
[2026-07-23 05:47:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":39,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899895296001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765517000,"timestamp_ms":1784765517000,"timestamp_seconds":1784765517,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c508cc8"} 
[2026-07-23 05:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899895296001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899895296001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:47:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899895296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":139506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:47:08] local.INFO: GPS data processed {"connection_id":139506,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:47:08] local.INFO: Acknowledgment sent {"connection_id":139506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:47:37] local.INFO: TCP Data received {"connection_id":139507,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:37] local.INFO: Processing buffer {"connection_id":139507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:37] local.INFO: IMEI packet received {"connection_id":139507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":139507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:47:42] local.INFO: TCP Data received {"connection_id":139507,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:42] local.INFO: Processing buffer {"connection_id":139507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:47:42] local.INFO: IMEI packet received {"connection_id":139507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":139507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:47:43] local.INFO: TCP Data received {"connection_id":139507,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:47:43] local.INFO: Processing buffer {"connection_id":139507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:47:43] local.INFO: Packet analysis {"connection_id":139507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:47:43] local.INFO: Extracted packet for processing {"connection_id":139507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:47: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-07-23 05:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":139507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":139507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":139507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":139507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:47:43] local.INFO: GPS data processed {"connection_id":139507,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:47:43] local.INFO: Acknowledgment sent {"connection_id":139507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:48:13] local.INFO: TCP Data received {"connection_id":139508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:48:13] local.INFO: Processing buffer {"connection_id":139508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:48:13] local.INFO: IMEI packet received {"connection_id":139508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":139508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:48:18] local.INFO: TCP Data received {"connection_id":139508,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:48:18] local.INFO: Processing buffer {"connection_id":139508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:48:18] local.INFO: IMEI packet received {"connection_id":139508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":139508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:48:18] local.INFO: TCP Data received {"connection_id":139508,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:48:18] local.INFO: Processing buffer {"connection_id":139508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:48:18] local.INFO: Packet analysis {"connection_id":139508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:48:18] local.INFO: Extracted packet for processing {"connection_id":139508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:48:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:48:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:48:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":139508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:48:18] local.INFO: GPS data processed {"connection_id":139508,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:48:18] local.INFO: Acknowledgment sent {"connection_id":139508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:49:02] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:49:02] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:49:02] local.INFO: IMEI packet received {"connection_id":141868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":141868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:49:08] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:49:08] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:49:08] local.INFO: IMEI packet received {"connection_id":141868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":141868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:49:09] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:49:09] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:49:09] local.INFO: Packet analysis {"connection_id":141868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:49:09] local.INFO: Extracted packet for processing {"connection_id":141868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:49:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:49:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":141868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:49:09] local.INFO: GPS data processed {"connection_id":141868,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:49:09] local.INFO: Acknowledgment sent {"connection_id":141868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:49:40] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:49:40] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:49:40] local.INFO: Packet analysis {"connection_id":141868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:49:40] local.INFO: Extracted packet for processing {"connection_id":141868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:49:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:49:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":141868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:49:40] local.INFO: GPS data processed {"connection_id":141868,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:49:40] local.INFO: Acknowledgment sent {"connection_id":141868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:50:04] local.INFO: TCP Data received {"connection_id":140517,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:50:04] local.INFO: Processing buffer {"connection_id":140517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:50:04] local.INFO: IMEI packet received {"connection_id":140517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":140517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:50:08] local.INFO: TCP Data received {"connection_id":140517,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:50:08] local.INFO: Processing buffer {"connection_id":140517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:50:08] local.INFO: IMEI packet received {"connection_id":140517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":140517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:50:08] local.INFO: TCP Data received {"connection_id":140517,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:50:08] local.INFO: Processing buffer {"connection_id":140517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:50:08] local.INFO: Packet analysis {"connection_id":140517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:50:08] local.INFO: Extracted packet for processing {"connection_id":140517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:50:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:50:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":140517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:50:08] local.INFO: GPS data processed {"connection_id":140517,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:50:08] local.INFO: Acknowledgment sent {"connection_id":140517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:50:42] local.INFO: TCP Data received {"connection_id":140517,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:50:42] local.INFO: Processing buffer {"connection_id":140517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:50:42] local.INFO: Packet analysis {"connection_id":140517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:50:42] local.INFO: Extracted packet for processing {"connection_id":140517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":140517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:50:42] local.INFO: GPS data processed {"connection_id":140517,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:50:42] local.INFO: Acknowledgment sent {"connection_id":140517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:51:02] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:51:02] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:51:02] local.INFO: IMEI packet received {"connection_id":141869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":141869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:51:08] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:51:08] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:51:08] local.INFO: IMEI packet received {"connection_id":141869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":141869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:51:08] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:51:08] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:51:08] local.INFO: Packet analysis {"connection_id":141869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:51:08] local.INFO: Extracted packet for processing {"connection_id":141869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:51:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:51:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:51:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:51:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":141869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:51:09] local.INFO: GPS data processed {"connection_id":141869,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:51:09] local.INFO: Acknowledgment sent {"connection_id":141869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:51:40] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:51:40] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:51:40] local.INFO: Packet analysis {"connection_id":141869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:51:40] local.INFO: Extracted packet for processing {"connection_id":141869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":141869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:51:40] local.INFO: GPS data processed {"connection_id":141869,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:51:40] local.INFO: Acknowledgment sent {"connection_id":141869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:52:02] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:52:02] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:52:02] local.INFO: IMEI packet received {"connection_id":141870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":141870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:52:08] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:52:08] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:52:08] local.INFO: IMEI packet received {"connection_id":141870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":141870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:52:08] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:52:08] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c552490012cb29bc007823b40004d00382a..."} 
[2026-07-23 05:52:08] local.INFO: Packet analysis {"connection_id":141870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:52:08] local.INFO: Extracted packet for processing {"connection_id":141870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c55"} 
[2026-07-23 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":77,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456899972352001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:52:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784765818000,"timestamp_ms":1784765818000,"timestamp_seconds":1784765818,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c552490"} 
[2026-07-23 05:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456899972352001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456899972352001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:52:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:52:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456899972352001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":141870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:52:08] local.INFO: GPS data processed {"connection_id":141870,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:52:08] local.INFO: Acknowledgment sent {"connection_id":141870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:52:39] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:52:39] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:52:39] local.INFO: Packet analysis {"connection_id":141870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:52:39] local.INFO: Extracted packet for processing {"connection_id":141870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:52:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:52:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:52:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:52:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":141870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:52:39] local.INFO: GPS data processed {"connection_id":141870,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:52:39] local.INFO: Acknowledgment sent {"connection_id":141870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:53:08] local.INFO: TCP Data received {"connection_id":140518,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:53:08] local.INFO: Processing buffer {"connection_id":140518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:53:08] local.INFO: IMEI packet received {"connection_id":140518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":140518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:53:13] local.INFO: TCP Data received {"connection_id":140518,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:53:13] local.INFO: Processing buffer {"connection_id":140518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:53:13] local.INFO: IMEI packet received {"connection_id":140518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":140518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:53:13] local.INFO: TCP Data received {"connection_id":140518,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:53:13] local.INFO: Processing buffer {"connection_id":140518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:53:13] local.INFO: Packet analysis {"connection_id":140518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:53:13] local.INFO: Extracted packet for processing {"connection_id":140518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:53:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:53:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":140518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:53:13] local.INFO: GPS data processed {"connection_id":140518,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:53:13] local.INFO: Acknowledgment sent {"connection_id":140518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:53:44] local.INFO: TCP Data received {"connection_id":140518,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:53:44] local.INFO: Processing buffer {"connection_id":140518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:53:44] local.INFO: Packet analysis {"connection_id":140518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:53:44] local.INFO: Extracted packet for processing {"connection_id":140518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:53:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:53:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":140518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:53:44] local.INFO: GPS data processed {"connection_id":140518,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:53:44] local.INFO: Acknowledgment sent {"connection_id":140518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:54:03] local.INFO: TCP Data received {"connection_id":140519,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:54:03] local.INFO: Processing buffer {"connection_id":140519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:54:03] local.INFO: IMEI packet received {"connection_id":140519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":140519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:54:08] local.INFO: TCP Data received {"connection_id":140519,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:54:08] local.INFO: Processing buffer {"connection_id":140519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:54:08] local.INFO: IMEI packet received {"connection_id":140519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":140519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:54:08] local.INFO: TCP Data received {"connection_id":140519,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:54:08] local.INFO: Processing buffer {"connection_id":140519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:54:08] local.INFO: Packet analysis {"connection_id":140519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:54:08] local.INFO: Extracted packet for processing {"connection_id":140519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:54:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:54:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:54:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:54:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":140519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:54:08] local.INFO: GPS data processed {"connection_id":140519,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:54:08] local.INFO: Acknowledgment sent {"connection_id":140519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:54:39] local.INFO: TCP Data received {"connection_id":140519,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:54:40] local.INFO: Processing buffer {"connection_id":140519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:54:40] local.INFO: Packet analysis {"connection_id":140519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:54:40] local.INFO: Extracted packet for processing {"connection_id":140519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:54:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:54:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:54:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:54:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":140519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:54:40] local.INFO: GPS data processed {"connection_id":140519,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:54:40] local.INFO: Acknowledgment sent {"connection_id":140519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:55:02] local.INFO: TCP Data received {"connection_id":139509,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:55:02] local.INFO: Processing buffer {"connection_id":139509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:55:02] local.INFO: IMEI packet received {"connection_id":139509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":139509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:55:08] local.INFO: TCP Data received {"connection_id":139509,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:55:08] local.INFO: Processing buffer {"connection_id":139509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:55:08] local.INFO: IMEI packet received {"connection_id":139509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":139509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:55:08] local.INFO: TCP Data received {"connection_id":139509,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:55:08] local.INFO: Processing buffer {"connection_id":139509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:55:08] local.INFO: Packet analysis {"connection_id":139509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:55:08] local.INFO: Extracted packet for processing {"connection_id":139509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:55:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:55:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:55:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":139509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:55:08] local.INFO: GPS data processed {"connection_id":139509,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:55:08] local.INFO: Acknowledgment sent {"connection_id":139509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:55:40] local.INFO: TCP Data received {"connection_id":139509,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:55:40] local.INFO: Processing buffer {"connection_id":139509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:55:40] local.INFO: Packet analysis {"connection_id":139509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:55:40] local.INFO: Extracted packet for processing {"connection_id":139509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:55:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:55:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:55:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:55:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:55:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":139509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:55:40] local.INFO: GPS data processed {"connection_id":139509,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:55:40] local.INFO: Acknowledgment sent {"connection_id":139509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:56:02] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:56:02] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:56:02] local.INFO: IMEI packet received {"connection_id":139450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":139450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:56:08] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:56:08] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:56:08] local.INFO: IMEI packet received {"connection_id":139450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":139450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:56:08] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:56:08] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:56:08] local.INFO: Packet analysis {"connection_id":139450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:56:08] local.INFO: Extracted packet for processing {"connection_id":139450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:56:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:56:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:56:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:56:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":139450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:56:08] local.INFO: GPS data processed {"connection_id":139450,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:56:08] local.INFO: Acknowledgment sent {"connection_id":139450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:56:39] local.INFO: TCP Data received {"connection_id":139450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:56:39] local.INFO: Processing buffer {"connection_id":139450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:56:39] local.INFO: Packet analysis {"connection_id":139450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:56:39] local.INFO: Extracted packet for processing {"connection_id":139450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:56:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:56:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:56:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:56:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":139450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:56:39] local.INFO: GPS data processed {"connection_id":139450,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:56:39] local.INFO: Acknowledgment sent {"connection_id":139450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:57:02] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:57:02] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:57:02] local.INFO: IMEI packet received {"connection_id":139451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":139451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:57:08] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:57:08] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:57:08] local.INFO: IMEI packet received {"connection_id":139451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":139451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:57:08] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:57:08] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c59b870012cb29bc007823b40004b003826..."} 
[2026-07-23 05:57:08] local.INFO: Packet analysis {"connection_id":139451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:57:08] local.INFO: Extracted packet for processing {"connection_id":139451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c59"} 
[2026-07-23 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":75,"angle":56,"satellites":38,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900049408001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:57:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766118000,"timestamp_ms":1784766118000,"timestamp_seconds":1784766118,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c59b870"} 
[2026-07-23 05:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900049408001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900049408001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:57:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:57:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:57:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900049408001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":139451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:57:08] local.INFO: GPS data processed {"connection_id":139451,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:57:08] local.INFO: Acknowledgment sent {"connection_id":139451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:57:40] local.INFO: TCP Data received {"connection_id":139451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:57:40] local.INFO: Processing buffer {"connection_id":139451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:57:40] local.INFO: Packet analysis {"connection_id":139451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:57:40] local.INFO: Extracted packet for processing {"connection_id":139451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 05:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:57:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":139451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:57:40] local.INFO: GPS data processed {"connection_id":139451,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:57:40] local.INFO: Acknowledgment sent {"connection_id":139451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:58:08] local.INFO: TCP Data received {"connection_id":139510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:58:08] local.INFO: Processing buffer {"connection_id":139510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:58:08] local.INFO: IMEI packet received {"connection_id":139510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":139510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:58:13] local.INFO: TCP Data received {"connection_id":139510,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:58:13] local.INFO: Processing buffer {"connection_id":139510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:58:13] local.INFO: IMEI packet received {"connection_id":139510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":139510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:58:13] local.INFO: TCP Data received {"connection_id":139510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:58:13] local.INFO: Processing buffer {"connection_id":139510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:58:13] local.INFO: Packet analysis {"connection_id":139510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:58:13] local.INFO: Extracted packet for processing {"connection_id":139510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:58:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 05:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:58:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":139510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:58:13] local.INFO: GPS data processed {"connection_id":139510,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:58:13] local.INFO: Acknowledgment sent {"connection_id":139510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:58:47] local.INFO: TCP Data received {"connection_id":139510,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:58:47] local.INFO: Processing buffer {"connection_id":139510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:58:47] local.INFO: Packet analysis {"connection_id":139510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:58:47] local.INFO: Extracted packet for processing {"connection_id":139510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:58:47] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 05:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":139510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":139510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":139510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:58:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":139510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:58:47] local.INFO: GPS data processed {"connection_id":139510,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:58:47] local.INFO: Acknowledgment sent {"connection_id":139510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:59:03] local.INFO: TCP Data received {"connection_id":140520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:59:03] local.INFO: Processing buffer {"connection_id":140520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:59:03] local.INFO: IMEI packet received {"connection_id":140520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 05:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":140520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 05:59:08] local.INFO: TCP Data received {"connection_id":140520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:59:08] local.INFO: Processing buffer {"connection_id":140520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 05:59:08] local.INFO: IMEI packet received {"connection_id":140520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 05:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":140520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 05:59:08] local.INFO: TCP Data received {"connection_id":140520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:59:08] local.INFO: Processing buffer {"connection_id":140520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:59:08] local.INFO: Packet analysis {"connection_id":140520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:59:08] local.INFO: Extracted packet for processing {"connection_id":140520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:59:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:59:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 05:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:59:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:59:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:59:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":140520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:59:08] local.INFO: GPS data processed {"connection_id":140520,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:59:08] local.INFO: Acknowledgment sent {"connection_id":140520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 05:59:40] local.INFO: TCP Data received {"connection_id":140520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:59:40] local.INFO: Processing buffer {"connection_id":140520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 05:59:40] local.INFO: Packet analysis {"connection_id":140520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:59:40] local.INFO: Extracted packet for processing {"connection_id":140520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 05:59:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 05:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 05:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 05:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 05:59:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 05:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 05:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 05:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 05:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 05:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 05:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 05:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 05:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 05:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 05:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 05:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 05:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 05:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 05:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 05:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 05:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 05:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 05:59:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 05:59:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 05:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 05:59:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 05:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 05:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":140520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 05:59:40] local.INFO: GPS data processed {"connection_id":140520,"processed":1,"errors":0,"total":1} 
[2026-07-23 05:59:40] local.INFO: Acknowledgment sent {"connection_id":140520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:00:03] local.INFO: TCP Data received {"connection_id":140521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:00:03] local.INFO: Processing buffer {"connection_id":140521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:00:03] local.INFO: IMEI packet received {"connection_id":140521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":140521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:00:08] local.INFO: TCP Data received {"connection_id":140521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:00:08] local.INFO: Processing buffer {"connection_id":140521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:00:08] local.INFO: IMEI packet received {"connection_id":140521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":140521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:00:08] local.INFO: TCP Data received {"connection_id":140521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:00:08] local.INFO: Processing buffer {"connection_id":140521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:00:08] local.INFO: Packet analysis {"connection_id":140521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:00:08] local.INFO: Extracted packet for processing {"connection_id":140521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:00:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:00:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 06:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:00:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:00:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":140521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:00:08] local.INFO: GPS data processed {"connection_id":140521,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:00:08] local.INFO: Acknowledgment sent {"connection_id":140521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:00:42] local.INFO: TCP Data received {"connection_id":140521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:00:42] local.INFO: Processing buffer {"connection_id":140521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:00:42] local.INFO: Packet analysis {"connection_id":140521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:00:42] local.INFO: Extracted packet for processing {"connection_id":140521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":140521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:00:42] local.INFO: GPS data processed {"connection_id":140521,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:00:42] local.INFO: Acknowledgment sent {"connection_id":140521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:01:02] local.INFO: TCP Data received {"connection_id":139511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:01:02] local.INFO: Processing buffer {"connection_id":139511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:01:02] local.INFO: IMEI packet received {"connection_id":139511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":139511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:01:08] local.INFO: TCP Data received {"connection_id":139511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:01:08] local.INFO: Processing buffer {"connection_id":139511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:01:08] local.INFO: IMEI packet received {"connection_id":139511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":139511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:01:08] local.INFO: TCP Data received {"connection_id":139511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:01:08] local.INFO: Processing buffer {"connection_id":139511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:01:08] local.INFO: Packet analysis {"connection_id":139511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:01:08] local.INFO: Extracted packet for processing {"connection_id":139511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:01:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 06:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":139511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:01:08] local.INFO: GPS data processed {"connection_id":139511,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:01:08] local.INFO: Acknowledgment sent {"connection_id":139511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:01:40] local.INFO: TCP Data received {"connection_id":139511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:01:40] local.INFO: Processing buffer {"connection_id":139511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:01:40] local.INFO: Packet analysis {"connection_id":139511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:01:40] local.INFO: Extracted packet for processing {"connection_id":139511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:01:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 06:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:01:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:01:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":139511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:01:40] local.INFO: GPS data processed {"connection_id":139511,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:01:40] local.INFO: Acknowledgment sent {"connection_id":139511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:02:02] local.INFO: TCP Data received {"connection_id":139512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:02:02] local.INFO: Processing buffer {"connection_id":139512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:02:02] local.INFO: IMEI packet received {"connection_id":139512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":139512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:02:08] local.INFO: TCP Data received {"connection_id":139512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:02:08] local.INFO: Processing buffer {"connection_id":139512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:02:08] local.INFO: IMEI packet received {"connection_id":139512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":139512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:02:08] local.INFO: TCP Data received {"connection_id":139512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:02:08] local.INFO: Processing buffer {"connection_id":139512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c5e5038012cb29bc007823b400044003828..."} 
[2026-07-23 06:02:08] local.INFO: Packet analysis {"connection_id":139512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:02:08] local.INFO: Extracted packet for processing {"connection_id":139512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c5e"} 
[2026-07-23 06:02:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":68,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900126208001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:02:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766419000,"timestamp_ms":1784766419000,"timestamp_seconds":1784766419,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c5e5038"} 
[2026-07-23 06:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900126208001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900126208001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:02:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:02:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900126208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":139512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:02:08] local.INFO: GPS data processed {"connection_id":139512,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:02:08] local.INFO: Acknowledgment sent {"connection_id":139512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:02:40] local.INFO: TCP Data received {"connection_id":139512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:02:40] local.INFO: Processing buffer {"connection_id":139512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:02:40] local.INFO: Packet analysis {"connection_id":139512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:02:40] local.INFO: Extracted packet for processing {"connection_id":139512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:02:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:02:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:02:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:02:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":139512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:02:40] local.INFO: GPS data processed {"connection_id":139512,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:02:40] local.INFO: Acknowledgment sent {"connection_id":139512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:03:08] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:03:08] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:03:08] local.INFO: IMEI packet received {"connection_id":141871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":141871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:03:13] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:03:13] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:03:13] local.INFO: IMEI packet received {"connection_id":141871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":141871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:03:13] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:03:13] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:03:13] local.INFO: Packet analysis {"connection_id":141871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:03:13] local.INFO: Extracted packet for processing {"connection_id":141871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:03:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:03:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":141871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:03:13] local.INFO: GPS data processed {"connection_id":141871,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:03:13] local.INFO: Acknowledgment sent {"connection_id":141871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:03:45] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:03:45] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:03:45] local.INFO: Packet analysis {"connection_id":141871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:03:45] local.INFO: Extracted packet for processing {"connection_id":141871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:03:45] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:03:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:03:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:03:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:03:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":141871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:03:45] local.INFO: GPS data processed {"connection_id":141871,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:03:45] local.INFO: Acknowledgment sent {"connection_id":141871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:04:03] local.INFO: TCP Data received {"connection_id":140522,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:04:03] local.INFO: Processing buffer {"connection_id":140522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:04:03] local.INFO: IMEI packet received {"connection_id":140522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":140522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:04:08] local.INFO: TCP Data received {"connection_id":140522,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:04:08] local.INFO: Processing buffer {"connection_id":140522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:04:08] local.INFO: IMEI packet received {"connection_id":140522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":140522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:04:08] local.INFO: TCP Data received {"connection_id":140522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:04:08] local.INFO: Processing buffer {"connection_id":140522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:04:08] local.INFO: Packet analysis {"connection_id":140522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:04:08] local.INFO: Extracted packet for processing {"connection_id":140522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:04:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:04:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:04:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:04:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:04:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":140522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:04:08] local.INFO: GPS data processed {"connection_id":140522,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:04:08] local.INFO: Acknowledgment sent {"connection_id":140522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:04:40] local.INFO: TCP Data received {"connection_id":140522,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:04:40] local.INFO: Processing buffer {"connection_id":140522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:04:40] local.INFO: Packet analysis {"connection_id":140522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:04:40] local.INFO: Extracted packet for processing {"connection_id":140522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:04:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":140522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:04:40] local.INFO: GPS data processed {"connection_id":140522,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:04:40] local.INFO: Acknowledgment sent {"connection_id":140522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:05:03] local.INFO: TCP Data received {"connection_id":140523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:05:03] local.INFO: Processing buffer {"connection_id":140523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:05:03] local.INFO: IMEI packet received {"connection_id":140523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":140523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:05:08] local.INFO: TCP Data received {"connection_id":140523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:05:08] local.INFO: Processing buffer {"connection_id":140523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:05:08] local.INFO: IMEI packet received {"connection_id":140523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":140523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:05:08] local.INFO: TCP Data received {"connection_id":140523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:05:08] local.INFO: Processing buffer {"connection_id":140523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:05:08] local.INFO: Packet analysis {"connection_id":140523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:05:08] local.INFO: Extracted packet for processing {"connection_id":140523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:05:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:05:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:05:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:05:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:05:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":140523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:05:08] local.INFO: GPS data processed {"connection_id":140523,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:05:08] local.INFO: Acknowledgment sent {"connection_id":140523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:05:39] local.INFO: TCP Data received {"connection_id":140523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:05:39] local.INFO: Processing buffer {"connection_id":140523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:05:39] local.INFO: Packet analysis {"connection_id":140523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:05:39] local.INFO: Extracted packet for processing {"connection_id":140523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:05:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:05:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:05:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:05:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":140523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:05:39] local.INFO: GPS data processed {"connection_id":140523,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:05:39] local.INFO: Acknowledgment sent {"connection_id":140523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:06:02] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:06:02] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:06:02] local.INFO: IMEI packet received {"connection_id":141872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":141872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:06:08] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:06:08] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:06:08] local.INFO: IMEI packet received {"connection_id":141872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":141872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:06:08] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:06:08] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:06:08] local.INFO: Packet analysis {"connection_id":141872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:06:08] local.INFO: Extracted packet for processing {"connection_id":141872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:06:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:06:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:06:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:06:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:06:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":141872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:06:08] local.INFO: GPS data processed {"connection_id":141872,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:06:08] local.INFO: Acknowledgment sent {"connection_id":141872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:06:39] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:06:39] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:06:39] local.INFO: Packet analysis {"connection_id":141872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:06:39] local.INFO: Extracted packet for processing {"connection_id":141872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:06:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:06:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:06:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:06:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:06:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":141872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:06:39] local.INFO: GPS data processed {"connection_id":141872,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:06:39] local.INFO: Acknowledgment sent {"connection_id":141872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:07:02] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:07:02] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:07:02] local.INFO: IMEI packet received {"connection_id":139452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":139452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:07:08] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:07:08] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:07:08] local.INFO: IMEI packet received {"connection_id":139452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":139452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:07:08] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:07:08] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:07:08] local.INFO: Packet analysis {"connection_id":139452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:07:08] local.INFO: Extracted packet for processing {"connection_id":139452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:07:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:07:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":139452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:07:08] local.INFO: GPS data processed {"connection_id":139452,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:07:08] local.INFO: Acknowledgment sent {"connection_id":139452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:07:39] local.INFO: TCP Data received {"connection_id":139452,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:07:39] local.INFO: Processing buffer {"connection_id":139452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c62e800012cb29bc007823b40004600382a..."} 
[2026-07-23 06:07:39] local.INFO: Packet analysis {"connection_id":139452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:07:39] local.INFO: Extracted packet for processing {"connection_id":139452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c62"} 
[2026-07-23 06:07:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900203264001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784766720000,"timestamp_ms":1784766720000,"timestamp_seconds":1784766720,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c62e800"} 
[2026-07-23 06:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900203264001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900203264001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:07:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:07:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900203264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":139452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:07:39] local.INFO: GPS data processed {"connection_id":139452,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:07:39] local.INFO: Acknowledgment sent {"connection_id":139452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:08:08] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:08:08] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:08:08] local.INFO: IMEI packet received {"connection_id":141873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":141873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:08:13] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:08:13] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:08:13] local.INFO: IMEI packet received {"connection_id":141873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":141873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:08:13] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:08:13] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:08:13] local.INFO: Packet analysis {"connection_id":141873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:08:13] local.INFO: Extracted packet for processing {"connection_id":141873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:08:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:08:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":141873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:08:13] local.INFO: GPS data processed {"connection_id":141873,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:08:13] local.INFO: Acknowledgment sent {"connection_id":141873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:08:18] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:08:18] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:08:18] local.INFO: Packet analysis {"connection_id":141873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:08:18] local.INFO: Extracted packet for processing {"connection_id":141873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:08:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:08:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:08:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:08:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":141873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:08:18] local.INFO: GPS data processed {"connection_id":141873,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:08:18] local.INFO: Acknowledgment sent {"connection_id":141873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:09:02] local.INFO: TCP Data received {"connection_id":140524,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:09:02] local.INFO: Processing buffer {"connection_id":140524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:09:02] local.INFO: IMEI packet received {"connection_id":140524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":140524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:09:08] local.INFO: TCP Data received {"connection_id":140524,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:09:08] local.INFO: Processing buffer {"connection_id":140524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:09:08] local.INFO: IMEI packet received {"connection_id":140524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":140524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:09:08] local.INFO: TCP Data received {"connection_id":140524,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:09:08] local.INFO: Processing buffer {"connection_id":140524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:09:08] local.INFO: Packet analysis {"connection_id":140524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:09:08] local.INFO: Extracted packet for processing {"connection_id":140524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:09:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:09:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:09:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:09:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":140524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:09:08] local.INFO: GPS data processed {"connection_id":140524,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:09:08] local.INFO: Acknowledgment sent {"connection_id":140524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:09:39] local.INFO: TCP Data received {"connection_id":140524,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:09:39] local.INFO: Processing buffer {"connection_id":140524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:09:39] local.INFO: Packet analysis {"connection_id":140524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:09:39] local.INFO: Extracted packet for processing {"connection_id":140524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:09:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:09:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:09:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":140524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:09:39] local.INFO: GPS data processed {"connection_id":140524,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:09:39] local.INFO: Acknowledgment sent {"connection_id":140524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:10:04] local.INFO: TCP Data received {"connection_id":139513,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:10:04] local.INFO: Processing buffer {"connection_id":139513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:10:04] local.INFO: IMEI packet received {"connection_id":139513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":139513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:10:08] local.INFO: TCP Data received {"connection_id":139513,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:10:08] local.INFO: Processing buffer {"connection_id":139513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:10:08] local.INFO: IMEI packet received {"connection_id":139513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":139513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:10:08] local.INFO: TCP Data received {"connection_id":139513,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:10:08] local.INFO: Processing buffer {"connection_id":139513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:10:08] local.INFO: Packet analysis {"connection_id":139513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:10:08] local.INFO: Extracted packet for processing {"connection_id":139513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:10:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:10:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:10:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":139513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:10:08] local.INFO: GPS data processed {"connection_id":139513,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:10:08] local.INFO: Acknowledgment sent {"connection_id":139513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:10:39] local.INFO: TCP Data received {"connection_id":139513,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:10:39] local.INFO: Processing buffer {"connection_id":139513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:10:39] local.INFO: Packet analysis {"connection_id":139513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:10:39] local.INFO: Extracted packet for processing {"connection_id":139513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:10:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:10:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:10:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:10:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":139513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:10:40] local.INFO: GPS data processed {"connection_id":139513,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:10:40] local.INFO: Acknowledgment sent {"connection_id":139513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:11:02] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:11:02] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:11:02] local.INFO: IMEI packet received {"connection_id":141874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:11:08] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:11:08] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:11:08] local.INFO: IMEI packet received {"connection_id":141874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":141874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:11:08] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:11:08] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:11:08] local.INFO: Packet analysis {"connection_id":141874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:11:08] local.INFO: Extracted packet for processing {"connection_id":141874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:11:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:11:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:11:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:11:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":141874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:11:08] local.INFO: GPS data processed {"connection_id":141874,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:11:08] local.INFO: Acknowledgment sent {"connection_id":141874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:11:39] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:11:39] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:11:39] local.INFO: Packet analysis {"connection_id":141874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:11:39] local.INFO: Extracted packet for processing {"connection_id":141874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:11:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:11:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:11:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:11:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:11:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":141874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:11:39] local.INFO: GPS data processed {"connection_id":141874,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:11:39] local.INFO: Acknowledgment sent {"connection_id":141874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:12:02] local.INFO: TCP Data received {"connection_id":139514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:12:02] local.INFO: Processing buffer {"connection_id":139514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:12:02] local.INFO: IMEI packet received {"connection_id":139514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":139514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:12:08] local.INFO: TCP Data received {"connection_id":139514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:12:08] local.INFO: Processing buffer {"connection_id":139514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:12:08] local.INFO: IMEI packet received {"connection_id":139514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":139514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:12:08] local.INFO: TCP Data received {"connection_id":139514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:12:08] local.INFO: Processing buffer {"connection_id":139514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:12:08] local.INFO: Packet analysis {"connection_id":139514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:12:08] local.INFO: Extracted packet for processing {"connection_id":139514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:12:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:12:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:12:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:12:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":139514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:12:08] local.INFO: GPS data processed {"connection_id":139514,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:12:08] local.INFO: Acknowledgment sent {"connection_id":139514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:12:39] local.INFO: TCP Data received {"connection_id":139514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:12:39] local.INFO: Processing buffer {"connection_id":139514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c677fc8012cb29bc007823b400046003828..."} 
[2026-07-23 06:12:39] local.INFO: Packet analysis {"connection_id":139514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:12:39] local.INFO: Extracted packet for processing {"connection_id":139514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c67"} 
[2026-07-23 06:12:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":40,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900280320001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767021000,"timestamp_ms":1784767021000,"timestamp_seconds":1784767021,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c677fc8"} 
[2026-07-23 06:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900280320001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900280320001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900280320001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":139514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:12:39] local.INFO: GPS data processed {"connection_id":139514,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:12:39] local.INFO: Acknowledgment sent {"connection_id":139514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:13:08] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:13:08] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:13:08] local.INFO: IMEI packet received {"connection_id":139453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":139453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:13:12] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:13:13] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:13:13] local.INFO: IMEI packet received {"connection_id":139453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":139453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:13:13] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:13:13] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:13:13] local.INFO: Packet analysis {"connection_id":139453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:13:13] local.INFO: Extracted packet for processing {"connection_id":139453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:13:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:13:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":139453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:13:13] local.INFO: GPS data processed {"connection_id":139453,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:13:13] local.INFO: Acknowledgment sent {"connection_id":139453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:13:44] local.INFO: TCP Data received {"connection_id":139453,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:13:44] local.INFO: Processing buffer {"connection_id":139453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:13:44] local.INFO: Packet analysis {"connection_id":139453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:13:44] local.INFO: Extracted packet for processing {"connection_id":139453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:13:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":139453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":139453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:13:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":139453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:13:44] local.INFO: GPS data processed {"connection_id":139453,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:13:44] local.INFO: Acknowledgment sent {"connection_id":139453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:14:03] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:14:03] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:14:03] local.INFO: IMEI packet received {"connection_id":139454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":139454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:14:08] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:14:08] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:14:08] local.INFO: IMEI packet received {"connection_id":139454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":139454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:14:08] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:14:08] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:14:08] local.INFO: Packet analysis {"connection_id":139454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:14:08] local.INFO: Extracted packet for processing {"connection_id":139454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:14:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:14:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:14:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:14:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":139454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:14:08] local.INFO: GPS data processed {"connection_id":139454,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:14:08] local.INFO: Acknowledgment sent {"connection_id":139454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:14:39] local.INFO: TCP Data received {"connection_id":139454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:14:39] local.INFO: Processing buffer {"connection_id":139454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:14:39] local.INFO: Packet analysis {"connection_id":139454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:14:39] local.INFO: Extracted packet for processing {"connection_id":139454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:14:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:14:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:14:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:14:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":139454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:14:39] local.INFO: GPS data processed {"connection_id":139454,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:14:39] local.INFO: Acknowledgment sent {"connection_id":139454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:15:02] local.INFO: TCP Data received {"connection_id":140525,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:15:02] local.INFO: Processing buffer {"connection_id":140525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:15:02] local.INFO: IMEI packet received {"connection_id":140525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":140525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:15:08] local.INFO: TCP Data received {"connection_id":140525,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:15:08] local.INFO: Processing buffer {"connection_id":140525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:15:08] local.INFO: IMEI packet received {"connection_id":140525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":140525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:15:08] local.INFO: TCP Data received {"connection_id":140525,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:15:08] local.INFO: Processing buffer {"connection_id":140525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:15:08] local.INFO: Packet analysis {"connection_id":140525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:15:08] local.INFO: Extracted packet for processing {"connection_id":140525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:15:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":140525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:15:08] local.INFO: GPS data processed {"connection_id":140525,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:15:08] local.INFO: Acknowledgment sent {"connection_id":140525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:15:42] local.INFO: TCP Data received {"connection_id":140525,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:15:42] local.INFO: Processing buffer {"connection_id":140525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:15:42] local.INFO: Packet analysis {"connection_id":140525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:15:42] local.INFO: Extracted packet for processing {"connection_id":140525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":140525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:15:42] local.INFO: GPS data processed {"connection_id":140525,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:15:42] local.INFO: Acknowledgment sent {"connection_id":140525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:16:02] local.INFO: TCP Data received {"connection_id":140526,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:16:02] local.INFO: Processing buffer {"connection_id":140526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:16:02] local.INFO: IMEI packet received {"connection_id":140526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":140526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:16:08] local.INFO: TCP Data received {"connection_id":140526,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:16:08] local.INFO: Processing buffer {"connection_id":140526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:16:08] local.INFO: IMEI packet received {"connection_id":140526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":140526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:16:08] local.INFO: TCP Data received {"connection_id":140526,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:16:08] local.INFO: Processing buffer {"connection_id":140526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:16:08] local.INFO: Packet analysis {"connection_id":140526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:16:08] local.INFO: Extracted packet for processing {"connection_id":140526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:16:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:16:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:16:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:16:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":140526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:16:08] local.INFO: GPS data processed {"connection_id":140526,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:16:08] local.INFO: Acknowledgment sent {"connection_id":140526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:16:39] local.INFO: TCP Data received {"connection_id":140526,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:16:39] local.INFO: Processing buffer {"connection_id":140526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:16:39] local.INFO: Packet analysis {"connection_id":140526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:16:39] local.INFO: Extracted packet for processing {"connection_id":140526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:16:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:16:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:16:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":140526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:16:39] local.INFO: GPS data processed {"connection_id":140526,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:16:39] local.INFO: Acknowledgment sent {"connection_id":140526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:17:02] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:17:02] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:17:02] local.INFO: IMEI packet received {"connection_id":139455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":139455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:17:07] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:17:08] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:17:08] local.INFO: IMEI packet received {"connection_id":139455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":139455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:17:08] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:17:08] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:17:08] local.INFO: Packet analysis {"connection_id":139455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:17:08] local.INFO: Extracted packet for processing {"connection_id":139455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:17:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:17:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:17:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":139455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:17:08] local.INFO: GPS data processed {"connection_id":139455,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:17:08] local.INFO: Acknowledgment sent {"connection_id":139455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:17:39] local.INFO: TCP Data received {"connection_id":139455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:17:39] local.INFO: Processing buffer {"connection_id":139455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c6c1790012cb29bc007823b40004500382a..."} 
[2026-07-23 06:17:39] local.INFO: Packet analysis {"connection_id":139455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:17:39] local.INFO: Extracted packet for processing {"connection_id":139455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c6c"} 
[2026-07-23 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900357376001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767322000,"timestamp_ms":1784767322000,"timestamp_seconds":1784767322,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c6c1790"} 
[2026-07-23 06:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900357376001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900357376001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900357376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":139455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:17:39] local.INFO: GPS data processed {"connection_id":139455,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:17:39] local.INFO: Acknowledgment sent {"connection_id":139455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:18:08] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:18:08] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:18:08] local.INFO: IMEI packet received {"connection_id":139456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":139456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:18:13] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:18:13] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:18:13] local.INFO: IMEI packet received {"connection_id":139456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":139456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:18:13] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:18:13] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:18:13] local.INFO: Packet analysis {"connection_id":139456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:18:13] local.INFO: Extracted packet for processing {"connection_id":139456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:18:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:18:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":139456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:18:13] local.INFO: GPS data processed {"connection_id":139456,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:18:13] local.INFO: Acknowledgment sent {"connection_id":139456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:18:18] local.INFO: TCP Data received {"connection_id":139456,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:18:18] local.INFO: Processing buffer {"connection_id":139456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:18:18] local.INFO: Packet analysis {"connection_id":139456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:18:18] local.INFO: Extracted packet for processing {"connection_id":139456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:18:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:18:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":139456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:18:18] local.INFO: GPS data processed {"connection_id":139456,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:18:18] local.INFO: Acknowledgment sent {"connection_id":139456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:19:02] local.INFO: TCP Data received {"connection_id":140527,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:19:02] local.INFO: Processing buffer {"connection_id":140527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:19:02] local.INFO: IMEI packet received {"connection_id":140527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":140527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:19:08] local.INFO: TCP Data received {"connection_id":140527,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:19:08] local.INFO: Processing buffer {"connection_id":140527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:19:08] local.INFO: IMEI packet received {"connection_id":140527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":140527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:19:08] local.INFO: TCP Data received {"connection_id":140527,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:19:08] local.INFO: Processing buffer {"connection_id":140527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:19:08] local.INFO: Packet analysis {"connection_id":140527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:19:08] local.INFO: Extracted packet for processing {"connection_id":140527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:19:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:19:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:19:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:19:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:19:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":140527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:19:08] local.INFO: GPS data processed {"connection_id":140527,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:19:08] local.INFO: Acknowledgment sent {"connection_id":140527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:19:39] local.INFO: TCP Data received {"connection_id":140527,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:19:39] local.INFO: Processing buffer {"connection_id":140527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:19:39] local.INFO: Packet analysis {"connection_id":140527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:19:39] local.INFO: Extracted packet for processing {"connection_id":140527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:19:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:19:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:19:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:19:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":140527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:19:39] local.INFO: GPS data processed {"connection_id":140527,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:19:39] local.INFO: Acknowledgment sent {"connection_id":140527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:20:03] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:20:03] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:20:03] local.INFO: IMEI packet received {"connection_id":141875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":141875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:20:08] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:20:08] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:20:08] local.INFO: IMEI packet received {"connection_id":141875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":141875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:20:08] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:20:08] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:20:08] local.INFO: Packet analysis {"connection_id":141875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:20:08] local.INFO: Extracted packet for processing {"connection_id":141875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:20:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:20:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:20:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:20:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:20:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":141875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:20:08] local.INFO: GPS data processed {"connection_id":141875,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:20:08] local.INFO: Acknowledgment sent {"connection_id":141875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:20:40] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:20:40] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:20:40] local.INFO: Packet analysis {"connection_id":141875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:20:40] local.INFO: Extracted packet for processing {"connection_id":141875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:20:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06: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-07-23 06:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:20:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":141875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:20:40] local.INFO: GPS data processed {"connection_id":141875,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:20:40] local.INFO: Acknowledgment sent {"connection_id":141875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:21:02] local.INFO: TCP Data received {"connection_id":139515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:21:02] local.INFO: Processing buffer {"connection_id":139515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:21:02] local.INFO: IMEI packet received {"connection_id":139515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":139515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:21:07] local.INFO: TCP Data received {"connection_id":139515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:21:08] local.INFO: Processing buffer {"connection_id":139515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:21:08] local.INFO: IMEI packet received {"connection_id":139515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":139515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:21:08] local.INFO: TCP Data received {"connection_id":139515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:21:08] local.INFO: Processing buffer {"connection_id":139515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:21:08] local.INFO: Packet analysis {"connection_id":139515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:21:08] local.INFO: Extracted packet for processing {"connection_id":139515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:21:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:21:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:21:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":139515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:21:08] local.INFO: GPS data processed {"connection_id":139515,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:21:08] local.INFO: Acknowledgment sent {"connection_id":139515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:21:40] local.INFO: TCP Data received {"connection_id":139515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:21:40] local.INFO: Processing buffer {"connection_id":139515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:21:40] local.INFO: Packet analysis {"connection_id":139515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:21:40] local.INFO: Extracted packet for processing {"connection_id":139515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":139515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:21:40] local.INFO: GPS data processed {"connection_id":139515,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:21:40] local.INFO: Acknowledgment sent {"connection_id":139515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:22:02] local.INFO: TCP Data received {"connection_id":139516,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:22:02] local.INFO: Processing buffer {"connection_id":139516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:22:02] local.INFO: IMEI packet received {"connection_id":139516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":139516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:22:08] local.INFO: TCP Data received {"connection_id":139516,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:22:08] local.INFO: Processing buffer {"connection_id":139516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:22:08] local.INFO: IMEI packet received {"connection_id":139516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":139516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:22:08] local.INFO: TCP Data received {"connection_id":139516,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:22:08] local.INFO: Processing buffer {"connection_id":139516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:22:08] local.INFO: Packet analysis {"connection_id":139516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:22:08] local.INFO: Extracted packet for processing {"connection_id":139516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:22:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:22:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:22:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:22:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":139516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:22:08] local.INFO: GPS data processed {"connection_id":139516,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:22:08] local.INFO: Acknowledgment sent {"connection_id":139516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:22:40] local.INFO: TCP Data received {"connection_id":139516,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:22:40] local.INFO: Processing buffer {"connection_id":139516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c70af58012cb29bc007823b40004900382a..."} 
[2026-07-23 06:22:40] local.INFO: Packet analysis {"connection_id":139516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:22:40] local.INFO: Extracted packet for processing {"connection_id":139516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c70"} 
[2026-07-23 06:22:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900434432001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784767623000,"timestamp_ms":1784767623000,"timestamp_seconds":1784767623,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c70af58"} 
[2026-07-23 06:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900434432001,"66":24930,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900434432001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:22:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900434432001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":139516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:22:40] local.INFO: GPS data processed {"connection_id":139516,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:22:40] local.INFO: Acknowledgment sent {"connection_id":139516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:23:08] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:23:08] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:23:08] local.INFO: IMEI packet received {"connection_id":141876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":141876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:23:12] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:23:13] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:23:13] local.INFO: IMEI packet received {"connection_id":141876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":141876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:23:13] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:23:13] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:23:13] local.INFO: Packet analysis {"connection_id":141876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:23:13] local.INFO: Extracted packet for processing {"connection_id":141876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:23:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:23:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":141876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:23:13] local.INFO: GPS data processed {"connection_id":141876,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:23:13] local.INFO: Acknowledgment sent {"connection_id":141876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:23:18] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:23:18] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:23:18] local.INFO: Packet analysis {"connection_id":141876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:23:18] local.INFO: Extracted packet for processing {"connection_id":141876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:23:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:23:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":141876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:23:18] local.INFO: GPS data processed {"connection_id":141876,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:23:18] local.INFO: Acknowledgment sent {"connection_id":141876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:24:02] local.INFO: TCP Data received {"connection_id":139517,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:24:02] local.INFO: Processing buffer {"connection_id":139517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:24:02] local.INFO: IMEI packet received {"connection_id":139517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":139517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:24:08] local.INFO: TCP Data received {"connection_id":139517,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:24:08] local.INFO: Processing buffer {"connection_id":139517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:24:08] local.INFO: IMEI packet received {"connection_id":139517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":139517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:24:08] local.INFO: TCP Data received {"connection_id":139517,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:24:08] local.INFO: Processing buffer {"connection_id":139517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:24:08] local.INFO: Packet analysis {"connection_id":139517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:24:08] local.INFO: Extracted packet for processing {"connection_id":139517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:24:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:24:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:24:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:24:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":139517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:24:08] local.INFO: GPS data processed {"connection_id":139517,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:24:08] local.INFO: Acknowledgment sent {"connection_id":139517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:24:42] local.INFO: TCP Data received {"connection_id":139517,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:24:42] local.INFO: Processing buffer {"connection_id":139517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:24:42] local.INFO: Packet analysis {"connection_id":139517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:24:42] local.INFO: Extracted packet for processing {"connection_id":139517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":139517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:24:42] local.INFO: GPS data processed {"connection_id":139517,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:24:42] local.INFO: Acknowledgment sent {"connection_id":139517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:25:02] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:25:02] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:25:02] local.INFO: IMEI packet received {"connection_id":139457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":139457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:25:08] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:25:08] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:25:08] local.INFO: IMEI packet received {"connection_id":139457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":139457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:25:09] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:25:09] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:25:09] local.INFO: Packet analysis {"connection_id":139457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:25:09] local.INFO: Extracted packet for processing {"connection_id":139457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:25:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":139457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:25:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":139457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:25:09] local.INFO: GPS data processed {"connection_id":139457,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:25:09] local.INFO: Acknowledgment sent {"connection_id":139457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:25:43] local.INFO: TCP Data received {"connection_id":139457,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:25:43] local.INFO: Processing buffer {"connection_id":139457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:25:43] local.INFO: Packet analysis {"connection_id":139457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:25:43] local.INFO: Extracted packet for processing {"connection_id":139457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":139457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":139457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":139457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:25:43] local.INFO: GPS data processed {"connection_id":139457,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:25:43] local.INFO: Acknowledgment sent {"connection_id":139457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:26:02] local.INFO: TCP Data received {"connection_id":139518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:26:02] local.INFO: Processing buffer {"connection_id":139518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:26:02] local.INFO: IMEI packet received {"connection_id":139518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":139518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:26:07] local.INFO: TCP Data received {"connection_id":139518,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:26:08] local.INFO: Processing buffer {"connection_id":139518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:26:08] local.INFO: IMEI packet received {"connection_id":139518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":139518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:26:08] local.INFO: TCP Data received {"connection_id":139518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:26:08] local.INFO: Processing buffer {"connection_id":139518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:26:08] local.INFO: Packet analysis {"connection_id":139518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:26:08] local.INFO: Extracted packet for processing {"connection_id":139518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:26:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:26:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:26:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:26:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:26:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":139518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:26:08] local.INFO: GPS data processed {"connection_id":139518,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:26:08] local.INFO: Acknowledgment sent {"connection_id":139518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:26:39] local.INFO: TCP Data received {"connection_id":139518,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:26:39] local.INFO: Processing buffer {"connection_id":139518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:26:39] local.INFO: Packet analysis {"connection_id":139518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:26:39] local.INFO: Extracted packet for processing {"connection_id":139518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:26:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:26:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:26:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":139518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:26:39] local.INFO: GPS data processed {"connection_id":139518,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:26:39] local.INFO: Acknowledgment sent {"connection_id":139518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:27:07] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:27:07] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:27:07] local.INFO: IMEI packet received {"connection_id":141877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":141877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:27:08] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:27:08] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:27:08] local.INFO: Packet analysis {"connection_id":141877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:27:08] local.INFO: Extracted packet for processing {"connection_id":141877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:27:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:27:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:27:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:27:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":141877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:27:08] local.INFO: GPS data processed {"connection_id":141877,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:27:08] local.INFO: Acknowledgment sent {"connection_id":141877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:27:40] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:27:40] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c754720012cb29bc007823b40004700382a..."} 
[2026-07-23 06:27:40] local.INFO: Packet analysis {"connection_id":141877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:27:40] local.INFO: Extracted packet for processing {"connection_id":141877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c75"} 
[2026-07-23 06:27:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":71,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900511488001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784767924000,"timestamp_ms":1784767924000,"timestamp_seconds":1784767924,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c754720"} 
[2026-07-23 06:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-23 06:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900511488001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900511488001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:27:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900511488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":141877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:27:40] local.INFO: GPS data processed {"connection_id":141877,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:27:40] local.INFO: Acknowledgment sent {"connection_id":141877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:28:02] local.INFO: TCP Data received {"connection_id":140528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:28:02] local.INFO: Processing buffer {"connection_id":140528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:28:02] local.INFO: IMEI packet received {"connection_id":140528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":140528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:28:07] local.INFO: TCP Data received {"connection_id":140528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:28:07] local.INFO: Processing buffer {"connection_id":140528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:28:07] local.INFO: IMEI packet received {"connection_id":140528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":140528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:28:08] local.INFO: TCP Data received {"connection_id":140528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:28:08] local.INFO: Processing buffer {"connection_id":140528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:28:08] local.INFO: Packet analysis {"connection_id":140528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:28:08] local.INFO: Extracted packet for processing {"connection_id":140528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:28:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:28:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:28:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:28:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":140528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:28:08] local.INFO: GPS data processed {"connection_id":140528,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:28:08] local.INFO: Acknowledgment sent {"connection_id":140528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:28:39] local.INFO: TCP Data received {"connection_id":140528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:28:39] local.INFO: Processing buffer {"connection_id":140528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:28:39] local.INFO: Packet analysis {"connection_id":140528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:28:39] local.INFO: Extracted packet for processing {"connection_id":140528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:28:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:28:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:28:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":140528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:28:39] local.INFO: GPS data processed {"connection_id":140528,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:28:39] local.INFO: Acknowledgment sent {"connection_id":140528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:29:02] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:29:02] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:29:02] local.INFO: IMEI packet received {"connection_id":139458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":139458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:29:07] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:29:08] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:29:08] local.INFO: IMEI packet received {"connection_id":139458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":139458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:29:08] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:29:08] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:29:08] local.INFO: Packet analysis {"connection_id":139458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:29:08] local.INFO: Extracted packet for processing {"connection_id":139458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:29:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:29:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:29:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:29:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":139458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:29:08] local.INFO: GPS data processed {"connection_id":139458,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:29:08] local.INFO: Acknowledgment sent {"connection_id":139458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:29:39] local.INFO: TCP Data received {"connection_id":139458,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:29:39] local.INFO: Processing buffer {"connection_id":139458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:29:39] local.INFO: Packet analysis {"connection_id":139458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:29:39] local.INFO: Extracted packet for processing {"connection_id":139458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:29:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:29:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:29:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:29:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":139458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:29:39] local.INFO: GPS data processed {"connection_id":139458,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:29:39] local.INFO: Acknowledgment sent {"connection_id":139458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:30:04] local.INFO: TCP Data received {"connection_id":140529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:30:04] local.INFO: Processing buffer {"connection_id":140529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:30:04] local.INFO: IMEI packet received {"connection_id":140529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":140529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:30:07] local.INFO: TCP Data received {"connection_id":140529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:30:07] local.INFO: Processing buffer {"connection_id":140529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:30:07] local.INFO: IMEI packet received {"connection_id":140529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":140529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:30:08] local.INFO: TCP Data received {"connection_id":140529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:30:08] local.INFO: Processing buffer {"connection_id":140529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:30:08] local.INFO: Packet analysis {"connection_id":140529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:30:08] local.INFO: Extracted packet for processing {"connection_id":140529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:30:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:30:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:30:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:30:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:30:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":140529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:30:08] local.INFO: GPS data processed {"connection_id":140529,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:30:08] local.INFO: Acknowledgment sent {"connection_id":140529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:30:40] local.INFO: TCP Data received {"connection_id":140529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:30:40] local.INFO: Processing buffer {"connection_id":140529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:30:40] local.INFO: Packet analysis {"connection_id":140529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:30:40] local.INFO: Extracted packet for processing {"connection_id":140529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:30:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:30:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":140529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:30:40] local.INFO: GPS data processed {"connection_id":140529,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:30:40] local.INFO: Acknowledgment sent {"connection_id":140529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:31:02] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:31:02] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:31:02] local.INFO: IMEI packet received {"connection_id":141878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":141878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:31:07] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:31:07] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:31:07] local.INFO: IMEI packet received {"connection_id":141878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":141878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:31:08] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:31:08] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:31:08] local.INFO: Packet analysis {"connection_id":141878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:31:08] local.INFO: Extracted packet for processing {"connection_id":141878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:31:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:31:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:31:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:31:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":141878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:31:08] local.INFO: GPS data processed {"connection_id":141878,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:31:08] local.INFO: Acknowledgment sent {"connection_id":141878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:31:39] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:31:39] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:31:39] local.INFO: Packet analysis {"connection_id":141878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:31:39] local.INFO: Extracted packet for processing {"connection_id":141878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":141878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:31:39] local.INFO: GPS data processed {"connection_id":141878,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:31:39] local.INFO: Acknowledgment sent {"connection_id":141878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:32:08] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:32:08] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:32:08] local.INFO: IMEI packet received {"connection_id":139459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":139459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:32:13] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:32:13] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:32:13] local.INFO: IMEI packet received {"connection_id":139459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":139459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:32:14] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:32:14] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:32:14] local.INFO: Packet analysis {"connection_id":139459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:32:14] local.INFO: Extracted packet for processing {"connection_id":139459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:32:14] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:32: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-07-23 06:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":139459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:32:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":139459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:32:14] local.INFO: GPS data processed {"connection_id":139459,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:32:14] local.INFO: Acknowledgment sent {"connection_id":139459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:32:18] local.INFO: TCP Data received {"connection_id":139459,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:32:18] local.INFO: Processing buffer {"connection_id":139459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c79dee8012cb29bc007823b40004900382a..."} 
[2026-07-23 06:32:18] local.INFO: Packet analysis {"connection_id":139459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:32:18] local.INFO: Extracted packet for processing {"connection_id":139459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c79"} 
[2026-07-23 06:32:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900588544001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784768225000,"timestamp_ms":1784768225000,"timestamp_seconds":1784768225,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c79dee8"} 
[2026-07-23 06:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":139459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":139459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900588544001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900588544001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:32:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900588544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":139459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:32:18] local.INFO: GPS data processed {"connection_id":139459,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:32:18] local.INFO: Acknowledgment sent {"connection_id":139459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:33:02] local.INFO: TCP Data received {"connection_id":139519,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:33:02] local.INFO: Processing buffer {"connection_id":139519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:33:02] local.INFO: IMEI packet received {"connection_id":139519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":139519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:33:07] local.INFO: TCP Data received {"connection_id":139519,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:33:07] local.INFO: Processing buffer {"connection_id":139519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:33:07] local.INFO: IMEI packet received {"connection_id":139519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":139519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:33:08] local.INFO: TCP Data received {"connection_id":139519,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:33:08] local.INFO: Processing buffer {"connection_id":139519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:33:08] local.INFO: Packet analysis {"connection_id":139519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:33:08] local.INFO: Extracted packet for processing {"connection_id":139519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:33:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:33:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:33:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:33:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:33:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":139519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:33:08] local.INFO: GPS data processed {"connection_id":139519,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:33:08] local.INFO: Acknowledgment sent {"connection_id":139519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:33:42] local.INFO: TCP Data received {"connection_id":139519,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:33:42] local.INFO: Processing buffer {"connection_id":139519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:33:42] local.INFO: Packet analysis {"connection_id":139519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:33:42] local.INFO: Extracted packet for processing {"connection_id":139519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":139519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:33:42] local.INFO: GPS data processed {"connection_id":139519,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:33:42] local.INFO: Acknowledgment sent {"connection_id":139519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:34:03] local.INFO: TCP Data received {"connection_id":140530,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:34:03] local.INFO: Processing buffer {"connection_id":140530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:34:03] local.INFO: IMEI packet received {"connection_id":140530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":140530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:34:07] local.INFO: TCP Data received {"connection_id":140530,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:34:07] local.INFO: Processing buffer {"connection_id":140530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:34:07] local.INFO: IMEI packet received {"connection_id":140530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":140530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:34:08] local.INFO: TCP Data received {"connection_id":140530,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:34:08] local.INFO: Processing buffer {"connection_id":140530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:34:08] local.INFO: Packet analysis {"connection_id":140530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:34:08] local.INFO: Extracted packet for processing {"connection_id":140530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:34:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:34:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:34:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:34:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":140530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:34:08] local.INFO: GPS data processed {"connection_id":140530,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:34:08] local.INFO: Acknowledgment sent {"connection_id":140530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:34:42] local.INFO: TCP Data received {"connection_id":140530,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:34:42] local.INFO: Processing buffer {"connection_id":140530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:34:42] local.INFO: Packet analysis {"connection_id":140530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:34:42] local.INFO: Extracted packet for processing {"connection_id":140530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":140530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:34:42] local.INFO: GPS data processed {"connection_id":140530,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:34:42] local.INFO: Acknowledgment sent {"connection_id":140530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:35:02] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:35:02] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:35:02] local.INFO: IMEI packet received {"connection_id":141879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":141879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:35:07] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:35:07] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:35:07] local.INFO: IMEI packet received {"connection_id":141879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":141879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:35:08] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:35:08] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:35:08] local.INFO: Packet analysis {"connection_id":141879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:35:08] local.INFO: Extracted packet for processing {"connection_id":141879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:35:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:35:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:35:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:35:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":141879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:35:08] local.INFO: GPS data processed {"connection_id":141879,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:35:08] local.INFO: Acknowledgment sent {"connection_id":141879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:35:39] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:35:39] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:35:39] local.INFO: Packet analysis {"connection_id":141879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:35:39] local.INFO: Extracted packet for processing {"connection_id":141879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:35:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:35:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:35:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:35:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:35:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":141879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:35:39] local.INFO: GPS data processed {"connection_id":141879,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:35:39] local.INFO: Acknowledgment sent {"connection_id":141879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:36:02] local.INFO: TCP Data received {"connection_id":139520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:36:02] local.INFO: Processing buffer {"connection_id":139520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:36:02] local.INFO: IMEI packet received {"connection_id":139520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":139520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:36:07] local.INFO: TCP Data received {"connection_id":139520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:36:07] local.INFO: Processing buffer {"connection_id":139520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:36:07] local.INFO: IMEI packet received {"connection_id":139520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":139520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:36:08] local.INFO: TCP Data received {"connection_id":139520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:36:08] local.INFO: Processing buffer {"connection_id":139520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:36:08] local.INFO: Packet analysis {"connection_id":139520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:36:08] local.INFO: Extracted packet for processing {"connection_id":139520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:36:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:36:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":139520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:36:08] local.INFO: GPS data processed {"connection_id":139520,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:36:08] local.INFO: Acknowledgment sent {"connection_id":139520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:36:39] local.INFO: TCP Data received {"connection_id":139520,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:36:39] local.INFO: Processing buffer {"connection_id":139520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:36:39] local.INFO: Packet analysis {"connection_id":139520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:36:39] local.INFO: Extracted packet for processing {"connection_id":139520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:36:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:36:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":139520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:36:39] local.INFO: GPS data processed {"connection_id":139520,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:36:39] local.INFO: Acknowledgment sent {"connection_id":139520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:37:07] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:37:07] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:37:07] local.INFO: IMEI packet received {"connection_id":141880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":141880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:37:12] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:37:12] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:37:12] local.INFO: IMEI packet received {"connection_id":141880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":141880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:37:13] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:37:13] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:37:13] local.INFO: Packet analysis {"connection_id":141880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:37:13] local.INFO: Extracted packet for processing {"connection_id":141880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:37:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:37:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":141880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:37:13] local.INFO: GPS data processed {"connection_id":141880,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:37:13] local.INFO: Acknowledgment sent {"connection_id":141880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:37:18] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:37:18] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c7e76b0012cb29bc007823b40004600382d..."} 
[2026-07-23 06:37:18] local.INFO: Packet analysis {"connection_id":141880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:37:18] local.INFO: Extracted packet for processing {"connection_id":141880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c7e"} 
[2026-07-23 06:37:18] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":45,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900665600001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:37:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784768526000,"timestamp_ms":1784768526000,"timestamp_seconds":1784768526,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c7e76b0"} 
[2026-07-23 06:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900665600001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900665600001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:37:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:37:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900665600001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":141880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:37:18] local.INFO: GPS data processed {"connection_id":141880,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:37:18] local.INFO: Acknowledgment sent {"connection_id":141880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:38:02] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:38:03] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:38:03] local.INFO: IMEI packet received {"connection_id":141881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":141881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:38:07] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:38:07] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:38:07] local.INFO: IMEI packet received {"connection_id":141881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":141881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:38:08] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:38:08] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:38:08] local.INFO: Packet analysis {"connection_id":141881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:38:08] local.INFO: Extracted packet for processing {"connection_id":141881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:38:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:38:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":141881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:38:08] local.INFO: GPS data processed {"connection_id":141881,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:38:08] local.INFO: Acknowledgment sent {"connection_id":141881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:38:39] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:38:39] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:38:39] local.INFO: Packet analysis {"connection_id":141881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:38:39] local.INFO: Extracted packet for processing {"connection_id":141881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:38:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:38:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:38:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:38:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":141881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:38:39] local.INFO: GPS data processed {"connection_id":141881,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:38:39] local.INFO: Acknowledgment sent {"connection_id":141881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:39:02] local.INFO: TCP Data received {"connection_id":139521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:39:02] local.INFO: Processing buffer {"connection_id":139521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:39:02] local.INFO: IMEI packet received {"connection_id":139521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":139521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:39:07] local.INFO: TCP Data received {"connection_id":139521,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:39:07] local.INFO: Processing buffer {"connection_id":139521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:39:07] local.INFO: IMEI packet received {"connection_id":139521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":139521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:39:08] local.INFO: TCP Data received {"connection_id":139521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:39:08] local.INFO: Processing buffer {"connection_id":139521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:39:08] local.INFO: Packet analysis {"connection_id":139521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:39:08] local.INFO: Extracted packet for processing {"connection_id":139521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:39:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":139521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:39:08] local.INFO: GPS data processed {"connection_id":139521,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:39:08] local.INFO: Acknowledgment sent {"connection_id":139521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:39:40] local.INFO: TCP Data received {"connection_id":139521,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:39:40] local.INFO: Processing buffer {"connection_id":139521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:39:40] local.INFO: Packet analysis {"connection_id":139521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:39:40] local.INFO: Extracted packet for processing {"connection_id":139521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:39:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":139521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:39:40] local.INFO: GPS data processed {"connection_id":139521,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:39:40] local.INFO: Acknowledgment sent {"connection_id":139521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:40:03] local.INFO: TCP Data received {"connection_id":140531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:40:03] local.INFO: Processing buffer {"connection_id":140531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:40:03] local.INFO: IMEI packet received {"connection_id":140531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":140531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:40:08] local.INFO: TCP Data received {"connection_id":140531,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:40:08] local.INFO: Processing buffer {"connection_id":140531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:40:08] local.INFO: IMEI packet received {"connection_id":140531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":140531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:40:09] local.INFO: TCP Data received {"connection_id":140531,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:40:09] local.INFO: Processing buffer {"connection_id":140531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:40:09] local.INFO: Packet analysis {"connection_id":140531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:40:09] local.INFO: Extracted packet for processing {"connection_id":140531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:40:09] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:40:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":140531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:40:09] local.INFO: GPS data processed {"connection_id":140531,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:40:09] local.INFO: Acknowledgment sent {"connection_id":140531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:40:40] local.INFO: TCP Data received {"connection_id":140531,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:40:40] local.INFO: Processing buffer {"connection_id":140531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:40:40] local.INFO: Packet analysis {"connection_id":140531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:40:40] local.INFO: Extracted packet for processing {"connection_id":140531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:40:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:40:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":140531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:40:40] local.INFO: GPS data processed {"connection_id":140531,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:40:40] local.INFO: Acknowledgment sent {"connection_id":140531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:41:02] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:41:02] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:41:02] local.INFO: IMEI packet received {"connection_id":139460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":139460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:41:07] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:41:07] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:41:07] local.INFO: IMEI packet received {"connection_id":139460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":139460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:41:08] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:41:08] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:41:08] local.INFO: Packet analysis {"connection_id":139460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:41:08] local.INFO: Extracted packet for processing {"connection_id":139460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:41:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":139460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:41:08] local.INFO: GPS data processed {"connection_id":139460,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:41:08] local.INFO: Acknowledgment sent {"connection_id":139460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:41:39] local.INFO: TCP Data received {"connection_id":139460,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:41:39] local.INFO: Processing buffer {"connection_id":139460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:41:39] local.INFO: Packet analysis {"connection_id":139460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:41:39] local.INFO: Extracted packet for processing {"connection_id":139460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:41:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:41:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:41:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":139460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:41:39] local.INFO: GPS data processed {"connection_id":139460,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:41:39] local.INFO: Acknowledgment sent {"connection_id":139460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:42:07] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:42:07] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:42:07] local.INFO: IMEI packet received {"connection_id":139461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":139461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:42:12] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:42:12] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:42:12] local.INFO: IMEI packet received {"connection_id":139461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":139461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:42:13] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:42:13] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:42:13] local.INFO: Packet analysis {"connection_id":139461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:42:13] local.INFO: Extracted packet for processing {"connection_id":139461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:42:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:42:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":139461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:42:13] local.INFO: GPS data processed {"connection_id":139461,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:42:13] local.INFO: Acknowledgment sent {"connection_id":139461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:42:44] local.INFO: TCP Data received {"connection_id":139461,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:42:44] local.INFO: Processing buffer {"connection_id":139461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c830e78012cb29bc007823b40004600382a..."} 
[2026-07-23 06:42:44] local.INFO: Packet analysis {"connection_id":139461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:42:44] local.INFO: Extracted packet for processing {"connection_id":139461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c83"} 
[2026-07-23 06:42:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":70,"angle":56,"satellites":42,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900742656001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784768827000,"timestamp_ms":1784768827000,"timestamp_seconds":1784768827,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c830e78"} 
[2026-07-23 06:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-23 06:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":139461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":139461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900742656001,"66":25299,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900742656001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:42:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900742656001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":139461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:42:44] local.INFO: GPS data processed {"connection_id":139461,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:42:44] local.INFO: Acknowledgment sent {"connection_id":139461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:43:02] local.INFO: TCP Data received {"connection_id":139522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:43:02] local.INFO: Processing buffer {"connection_id":139522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:43:02] local.INFO: IMEI packet received {"connection_id":139522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":139522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:43:07] local.INFO: TCP Data received {"connection_id":139522,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:43:07] local.INFO: Processing buffer {"connection_id":139522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:43:07] local.INFO: IMEI packet received {"connection_id":139522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":139522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:43:08] local.INFO: TCP Data received {"connection_id":139522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:43:08] local.INFO: Processing buffer {"connection_id":139522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:43:08] local.INFO: Packet analysis {"connection_id":139522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:43:08] local.INFO: Extracted packet for processing {"connection_id":139522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:43:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:43:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:43:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:43:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:43:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":139522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:43:08] local.INFO: GPS data processed {"connection_id":139522,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:43:08] local.INFO: Acknowledgment sent {"connection_id":139522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:43:39] local.INFO: TCP Data received {"connection_id":139522,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:43:39] local.INFO: Processing buffer {"connection_id":139522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:43:39] local.INFO: Packet analysis {"connection_id":139522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:43:39] local.INFO: Extracted packet for processing {"connection_id":139522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:43:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:43:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:43:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:43:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":139522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:43:39] local.INFO: GPS data processed {"connection_id":139522,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:43:39] local.INFO: Acknowledgment sent {"connection_id":139522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:44:02] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:44:03] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:44:03] local.INFO: IMEI packet received {"connection_id":139462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":139462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:44:07] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:44:07] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:44:07] local.INFO: IMEI packet received {"connection_id":139462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":139462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:44:08] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:44:08] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:44:08] local.INFO: Packet analysis {"connection_id":139462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:44:08] local.INFO: Extracted packet for processing {"connection_id":139462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:44:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:44:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:44:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:44:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:44:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":139462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:44:08] local.INFO: GPS data processed {"connection_id":139462,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:44:08] local.INFO: Acknowledgment sent {"connection_id":139462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:44:42] local.INFO: TCP Data received {"connection_id":139462,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:44:42] local.INFO: Processing buffer {"connection_id":139462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:44:42] local.INFO: Packet analysis {"connection_id":139462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:44:42] local.INFO: Extracted packet for processing {"connection_id":139462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":139462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":139462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:44:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":139462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:44:42] local.INFO: GPS data processed {"connection_id":139462,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:44:42] local.INFO: Acknowledgment sent {"connection_id":139462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:45:02] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:45:02] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:45:02] local.INFO: IMEI packet received {"connection_id":141882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":141882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:45:32] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:45:32] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:45:32] local.INFO: IMEI packet received {"connection_id":141882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":141882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:45:33] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:45:33] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:45:33] local.INFO: Packet analysis {"connection_id":141882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:45:33] local.INFO: Extracted packet for processing {"connection_id":141882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06: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-07-23 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:45:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06: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-07-23 06:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:45:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:45:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":141882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:45:33] local.INFO: GPS data processed {"connection_id":141882,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:45:33] local.INFO: Acknowledgment sent {"connection_id":141882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:46:02] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:46:02] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:46:02] local.INFO: IMEI packet received {"connection_id":141883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":141883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:46:07] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:46:07] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:46:07] local.INFO: IMEI packet received {"connection_id":141883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":141883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:46:08] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:46:08] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:46:08] local.INFO: Packet analysis {"connection_id":141883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:46:08] local.INFO: Extracted packet for processing {"connection_id":141883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:46:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:46:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:46:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:46:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":141883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:46:08] local.INFO: GPS data processed {"connection_id":141883,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:46:08] local.INFO: Acknowledgment sent {"connection_id":141883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:46:39] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:46:39] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:46:39] local.INFO: Packet analysis {"connection_id":141883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:46:39] local.INFO: Extracted packet for processing {"connection_id":141883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:46:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:46:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:46:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":141883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:46:39] local.INFO: GPS data processed {"connection_id":141883,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:46:39] local.INFO: Acknowledgment sent {"connection_id":141883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:47:02] local.INFO: TCP Data received {"connection_id":139523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:47:02] local.INFO: Processing buffer {"connection_id":139523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:47:02] local.INFO: IMEI packet received {"connection_id":139523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":139523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:47:07] local.INFO: TCP Data received {"connection_id":139523,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:47:07] local.INFO: Processing buffer {"connection_id":139523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:47:07] local.INFO: IMEI packet received {"connection_id":139523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":139523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:47:08] local.INFO: TCP Data received {"connection_id":139523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:47:08] local.INFO: Processing buffer {"connection_id":139523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:47:08] local.INFO: Packet analysis {"connection_id":139523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:47:08] local.INFO: Extracted packet for processing {"connection_id":139523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:47:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:47:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:47:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:47:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:47:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":139523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:47:08] local.INFO: GPS data processed {"connection_id":139523,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:47:08] local.INFO: Acknowledgment sent {"connection_id":139523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:47:40] local.INFO: TCP Data received {"connection_id":139523,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:47:40] local.INFO: Processing buffer {"connection_id":139523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c87a640012cb29bc007823b40004900382f..."} 
[2026-07-23 06:47:40] local.INFO: Packet analysis {"connection_id":139523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:47:40] local.INFO: Extracted packet for processing {"connection_id":139523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c87"} 
[2026-07-23 06:47:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":73,"angle":56,"satellites":47,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900819712001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:47:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784769128000,"timestamp_ms":1784769128000,"timestamp_seconds":1784769128,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c87a640"} 
[2026-07-23 06:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-23 06:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900819712001,"66":24190,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900819712001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:47:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:47:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:47:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900819712001,"power":24190,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":139523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:47:40] local.INFO: GPS data processed {"connection_id":139523,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:47:40] local.INFO: Acknowledgment sent {"connection_id":139523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:48:02] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:48:02] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:48:02] local.INFO: IMEI packet received {"connection_id":139463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":139463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:48:07] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:48:07] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:48:07] local.INFO: IMEI packet received {"connection_id":139463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":139463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:48:08] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:48:08] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:48:08] local.INFO: Packet analysis {"connection_id":139463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:48:08] local.INFO: Extracted packet for processing {"connection_id":139463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:48:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:48:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:48:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:48:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":139463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:48:08] local.INFO: GPS data processed {"connection_id":139463,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:48:08] local.INFO: Acknowledgment sent {"connection_id":139463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:48:39] local.INFO: TCP Data received {"connection_id":139463,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:48:39] local.INFO: Processing buffer {"connection_id":139463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:48:39] local.INFO: Packet analysis {"connection_id":139463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:48:39] local.INFO: Extracted packet for processing {"connection_id":139463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:48:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:48:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:48:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":139463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:48:39] local.INFO: GPS data processed {"connection_id":139463,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:48:39] local.INFO: Acknowledgment sent {"connection_id":139463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:49:02] local.INFO: TCP Data received {"connection_id":139524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:49:02] local.INFO: Processing buffer {"connection_id":139524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:49:02] local.INFO: IMEI packet received {"connection_id":139524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":139524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:49:07] local.INFO: TCP Data received {"connection_id":139524,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:49:07] local.INFO: Processing buffer {"connection_id":139524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:49:07] local.INFO: IMEI packet received {"connection_id":139524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":139524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:49:08] local.INFO: TCP Data received {"connection_id":139524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:49:08] local.INFO: Processing buffer {"connection_id":139524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:49:08] local.INFO: Packet analysis {"connection_id":139524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:49:08] local.INFO: Extracted packet for processing {"connection_id":139524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:49:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:49:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:49:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:49:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:49:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":139524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:49:08] local.INFO: GPS data processed {"connection_id":139524,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:49:08] local.INFO: Acknowledgment sent {"connection_id":139524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:49:39] local.INFO: TCP Data received {"connection_id":139524,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:49:39] local.INFO: Processing buffer {"connection_id":139524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:49:39] local.INFO: Packet analysis {"connection_id":139524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:49:39] local.INFO: Extracted packet for processing {"connection_id":139524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:49:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":139524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":139524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":139524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:49:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":139524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:49:39] local.INFO: GPS data processed {"connection_id":139524,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:49:39] local.INFO: Acknowledgment sent {"connection_id":139524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:50:02] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:50:02] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:50:02] local.INFO: IMEI packet received {"connection_id":139464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":139464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:50:07] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:50:07] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:50:07] local.INFO: IMEI packet received {"connection_id":139464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":139464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:50:08] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:08] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:08] local.INFO: Packet analysis {"connection_id":139464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:50:08] local.INFO: Extracted packet for processing {"connection_id":139464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:50:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:50:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:50:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":139464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:50:08] local.INFO: GPS data processed {"connection_id":139464,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:50:08] local.INFO: Acknowledgment sent {"connection_id":139464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:50:13] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:13] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:13] local.INFO: Packet analysis {"connection_id":139464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:50:13] local.INFO: Extracted packet for processing {"connection_id":139464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:50:13] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06: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-07-23 06:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":139464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:50:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":139464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:50:13] local.INFO: GPS data processed {"connection_id":139464,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:50:13] local.INFO: Acknowledgment sent {"connection_id":139464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:50:36] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:36] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:36] local.INFO: IMEI packet received {"connection_id":141884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-23 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":141884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:50:37] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:37] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:37] local.INFO: IMEI packet received {"connection_id":141884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-23 06:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":141884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:50:41] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:41] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-23 06:50:41] local.INFO: IMEI packet received {"connection_id":141884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-23 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":141884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:50:42] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e01000000000000b7980100000000000000000000000000..."} 
[2026-07-23 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":93,"packet_hex":"00000000000000518e01000000000000b7980100000000000000000000000000..."} 
[2026-07-23 06:50:42] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000b7980100000000000000000000000000..."} 
[2026-07-23 06:50:42] local.INFO: Packet analysis {"connection_id":141884,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-07-23 06:50:42] local.INFO: Extracted packet for processing {"connection_id":141884,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-07-23 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-23 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-23 06:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-23 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141884,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-23 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141884,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-23 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141884,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-23 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-23 06:50:42] local.WARNING: DEBUG: No valid data to process  
[2026-07-23 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":141884,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-23 06:50:42] local.ERROR: GPS data processing failed {"connection_id":141884,"error":"No valid data to process"} 
[2026-07-23 06:50:42] local.INFO: Acknowledgment sent {"connection_id":141884,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-23 06:50:44] local.INFO: TCP Data received {"connection_id":139464,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:44] local.INFO: Processing buffer {"connection_id":139464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:50:44] local.INFO: Packet analysis {"connection_id":139464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:50:44] local.INFO: Extracted packet for processing {"connection_id":139464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":139464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":139464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:50:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":139464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:50:44] local.INFO: GPS data processed {"connection_id":139464,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:50:44] local.INFO: Acknowledgment sent {"connection_id":139464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:51:02] local.INFO: TCP Data received {"connection_id":139525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:51:02] local.INFO: Processing buffer {"connection_id":139525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:51:02] local.INFO: IMEI packet received {"connection_id":139525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-23 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":139525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-23 06:51:07] local.INFO: TCP Data received {"connection_id":139525,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:51:07] local.INFO: Processing buffer {"connection_id":139525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-23 06:51:07] local.INFO: IMEI packet received {"connection_id":139525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-23 06:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":139525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-23 06:51:08] local.INFO: TCP Data received {"connection_id":139525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:51:08] local.INFO: Processing buffer {"connection_id":139525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:51:08] local.INFO: Packet analysis {"connection_id":139525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:51:08] local.INFO: Extracted packet for processing {"connection_id":139525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:51:08] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:51:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":139525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":139525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":139525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:51:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:51:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":139525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:51:08] local.INFO: GPS data processed {"connection_id":139525,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:51:08] local.INFO: Acknowledgment sent {"connection_id":139525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:51:12] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000019f8c8f9580012d7e358005d34dc80000000008..."} 
[2026-07-23 06:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":93,"packet_hex":"00000000000000518e010000019f8c8f9580012d7e358005d34dc80000000008..."} 
[2026-07-23 06:51:12] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f8c8f9580012d7e358005d34dc80000000008..."} 
[2026-07-23 06:51:12] local.INFO: Packet analysis {"connection_id":141884,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f8c8f"} 
[2026-07-23 06:51:12] local.INFO: Extracted packet for processing {"connection_id":141884,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f8c8f"} 
[2026-07-23 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734088,"longitude_deg":76.3245952,"latitude_deg":9.7734088,"altitude":0,"angle":0,"satellites":8,"speed":1,"hex_longitude":"2d7e3580","hex_latitude":"05d34dc8","is_valid_coordinates":true} 
[2026-07-23 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-23 06:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:51:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:51:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-23 06:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141884,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-23 06:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141884,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-23 06:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141884,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-23 06:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-23 06:51:12] local.WARNING: DEBUG: No valid data to process  
[2026-07-23 06:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":141884,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-23 06:51:12] local.ERROR: GPS data processing failed {"connection_id":141884,"error":"No valid data to process"} 
[2026-07-23 06:51:12] local.INFO: Acknowledgment sent {"connection_id":141884,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-23 06:51:40] local.INFO: TCP Data received {"connection_id":139525,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":139525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:51:40] local.INFO: Processing buffer {"connection_id":139525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f8c8c3e08012cb29bc007823b40004500382e..."} 
[2026-07-23 06:51:40] local.INFO: Packet analysis {"connection_id":139525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:51:40] local.INFO: Extracted packet for processing {"connection_id":139525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f8c8c"} 
[2026-07-23 06:51:40] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975360,"longitude_deg":74.9902784,"latitude_deg":12.597536,"altitude":69,"angle":56,"satellites":46,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823b40","is_valid_coordinates":true} 
[2026-07-23 06:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-23 06:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456900896768001,"note":"Value kept but may cause issues"} 
[2026-07-23 06:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":354247953386307584,"note":"Value kept but may cause issues"} 
[2026-07-23 06:51:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575086002176,"note":"Value kept but may cause issues"} 
[2026-07-23 06:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-23 06:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784769429000,"timestamp_ms":1784769429000,"timestamp_seconds":1784769429,"priority":1,"record_length":96,"hex_timestamp":"0000019f8c8c3e08"} 
[2026-07-23 06:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-23 06:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-23 06: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":94,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-23 06:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1802,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-23 06:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-23 06:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-23 06:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":139525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-23 06:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":139525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":139525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-23 06:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-23 06:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-23 06:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-23 06:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456900896768001,"66":25321,"221":206,"85":36864,"24":0,"16":354247953386307584,"44":-5576652575086002176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-23 06:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-23 06:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-23 06:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456900896768001,"description":"Unknown IO ID 0"} 
[2026-07-23 06:51:40] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-23 06:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-23 06:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":354247953386307584,"km_value":354247953386307.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-23 06:51:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575086002176,"description":"Unknown IO ID 44"} 
[2026-07-23 06:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456900896768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575086002176}} 
[2026-07-23 06:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":139525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":531170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-23 06:51:40] local.INFO: GPS data processed {"connection_id":139525,"processed":1,"errors":0,"total":1} 
[2026-07-23 06:51:40] local.INFO: Acknowledgment sent {"connection_id":139525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-23 06:51:48] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.106.6.34","data_length":93,"data_hex":"00000000000000518e010000019f8c900e98012d7e374005d358d0000c005d09..."} 
[2026-07-23 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":93,"packet_hex":"00000000000000518e010000019f8c900e98012d7e374005d358d0000c005d09..."} 
[2026-07-23 06:51:48] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f8c900e98012d7e374005d358d0000c005d09..."} 
[2026-07-23 06:51:48] local.INFO: Packet analysis {"connection_id":141884,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f8c90"} 
[2026-07-23 06:51:48] local.INFO: Extracted packet for processing {"connection_id":141884,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f8c90"} 
[2026-07-23 06:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763246400,"raw_latitude":97736912,"longitude_deg":76.32464,"latitude_deg":9.7736912,"altitude":12,"angle":93,"satellites":9,"speed":9,"hex_longitude":"2d7e3740","hex_latitude":"05d358d0","is_valid_coordinates":true} 
[2026-07-23 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":93,"current_offset":40} 
[2026-07-23 06:51: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-07-23 06:51: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-07-23 06:51:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-23 06:51:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-23 06:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141884,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-23 06:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141884,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-23 06:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141884,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-23 06:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-23 06:51:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-23 06:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":141884,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-23 06:51:48] local.ERROR: GPS data processing failed {"connection_id":141884,"error":"No valid data to process"} 
[2026-07-23 06:51:48] local.INFO: Acknowledgment sent {"connection_id":141884,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
